Sha256: 011611009bb1f8f87cdd67d0c37ea24142116ce9d6a240a1eea6b040e4c6bed3
Contents?: true
Size: 483 Bytes
Versions: 3
Compression:
Stored size: 483 Bytes
Contents
require 'python/pickle/instruction' module Python module Pickle module Instructions # # Represents a pickle `EMPTY_LIST` instruction. # # @note introduced in protocol 1. # class EmptyList < Instruction # # Initializes the `EMPTY_LIST` instruction. # def initialize super(:EMPTY_LIST) end end # The `EMPTY_LIST` instruction. EMPTY_LIST = EmptyList.new end end end
Version data entries
3 entries across 3 versions & 1 rubygems