Class: Python::Pickle::Instructions::Memoize

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

Overview

Note:

introduced in protocol 4.

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

#initializeMemoize

Initializes the MEMOIZE instruction.



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

def initialize
  super(:MEMOIZE)
end