Class: Python::Pickle::Instructions::NewObj

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

Overview

Note:

introduced in protocol 2.

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

#initializeNewObj

Initializes the NEWOBJ instruction.



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

def initialize
  super(:NEWOBJ)
end