Class: Python::Pickle::Instructions::Global
- Inherits:
-
Python::Pickle::Instruction
- Object
- Python::Pickle::Instruction
- Python::Pickle::Instructions::Global
- Includes:
- HasNamespaceAndName
- Defined in:
- lib/python/pickle/instructions/global.rb
Overview
Note:
introduced in protocol 0.
Represents the GLOBAL
instruction.
Instance Attribute Summary
Attributes included from HasNamespaceAndName
Attributes inherited from Python::Pickle::Instruction
Instance Method Summary collapse
-
#initialize(namespace, name) ⇒ Global
constructor
Initializes a
GLOBAL
instruction.
Methods included from HasNamespaceAndName
Methods inherited from Python::Pickle::Instruction
Constructor Details
#initialize(namespace, name) ⇒ Global
Initializes a GLOBAL
instruction.
25 26 27 |
# File 'lib/python/pickle/instructions/global.rb', line 25 def initialize(namespace,name) super(:GLOBAL,namespace,name) end |