Sha256: b51148cf5b0d0cfcc15c8cd489e52e09cff4f3e2bdc7dca2f58708b59ade11b1

Contents?: true

Size: 476 Bytes

Versions: 3

Compression:

Stored size: 476 Bytes

Contents

require 'python/pickle/instruction'

module Python
  module Pickle
    module Instructions
      #
      # Represents a pickle `NEWOBJ_EX` instruction.
      #
      # @note introduced in protocol 3.
      #
      class NewObjEx < Instruction

        #
        # Initializes the `NEWOBJ_EX` instruction.
        #
        def initialize
          super(:NEWOBJ_EX)
        end

      end

      # The `NEWOBJ_EX` instruction.
      NEWOBJ_EX = NewObjEx.new
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
python-pickle-0.2.0 lib/python/pickle/instructions/new_obj_ex.rb
python-pickle-0.1.1 lib/python/pickle/instructions/new_obj_ex.rb
python-pickle-0.1.0 lib/python/pickle/instructions/new_obj_ex.rb