Sha256: 6b3d28d13e4c147ac653d6f5ab98beaedffb0902d6aadac1ce37b986074ed774

Contents?: true

Size: 471 Bytes

Versions: 3

Compression:

Stored size: 471 Bytes

Contents

require 'python/pickle/instruction'

module Python
  module Pickle
    module Instructions
      #
      # Represents a pickle `ADDITEMS` instruction.
      #
      # @note Introduced in protocol 4.
      #
      class AddItems < Instruction

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

      end

      # The `ADDITEMS` instruction.
      ADDITEMS = AddItems.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/add_items.rb
python-pickle-0.1.1 lib/python/pickle/instructions/add_items.rb
python-pickle-0.1.0 lib/python/pickle/instructions/add_items.rb