Sha256: c7741d1be8c6a566a04d4d6888c31edfd11dec97316b566a0ffabcf6d5621606
Contents?: true
Size: 691 Bytes
Versions: 1
Compression:
Stored size: 691 Bytes
Contents
require 'python/pickle/instruction' require 'python/pickle/instructions/has_namespace_and_name' module Python module Pickle module Instructions # # Represents the `GLOBAL` instruction. # # @note introduced in protocol 0. # class Global < Instruction include HasNamespaceAndName # # Initializes a `GLOBAL` instruction. # # @param [String] namespace # The namespace name for the constant. # # @param [String] name # The name of the constant. # def initialize(namespace,name) super(:GLOBAL,namespace,name) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
python-pickle-0.2.0 | lib/python/pickle/instructions/global.rb |