Class: Python::Pickle::Instructions::EmptyList

Inherits:
Python::Pickle::Instruction show all
Defined in:
lib/python/pickle/instructions/empty_list.rb

Overview

Note:

introduced in protocol 1.

Represents a pickle EMPTY_LIST instruction.

Instance Attribute Summary

Attributes inherited from Python::Pickle::Instruction

#opcode

Instance Method Summary collapse

Methods inherited from Python::Pickle::Instruction

#==, #inspect, #to_s

Constructor Details

#initializeEmptyList

Initializes the EMPTY_LIST instruction.



16
17
18
# File 'lib/python/pickle/instructions/empty_list.rb', line 16

def initialize
  super(:EMPTY_LIST)
end