Class: Python::Pickle::Instructions::EmptyTuple

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

Overview

Note:

Introduced in protocol 1.

Represents a pickle EMPTY_TUPLE 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

#initializeEmptyTuple

Initializes the EMPTY_TUPLE instruction.



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

def initialize
  super(:EMPTY_TUPLE)
end