Class: Python::Pickle::Instructions::EmptySet

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

Overview

Note:

introduced in protocol 4.

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

#initializeEmptySet

Initializes the EMPTY_SET instruction.



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

def initialize
  super(:EMPTY_SET)
end