Class: Python::Pickle::Instructions::EmptyDict

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

Overview

Note:

introduced in protocol 1.

Represents the EMPTY_DICT 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

#initializeEmptyDict

Initializes the EMPTY_DICT instruction.



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

def initialize
  super(:EMPTY_DICT)
end