Method: Python::Pickle::Deserializer#execute_get

Defined in:
lib/python/pickle/deserializer.rb

#execute_get(instruction) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Executes a GET, BINGET, or LONG_BINGET instruction.

Parameters:



235
236
237
238
239
# File 'lib/python/pickle/deserializer.rb', line 235

def execute_get(instruction)
  index = instruction.value

  @stack.push(@memo[index])
end