Sha256: a17984cfb2e3c1ed0e5d4f33c1ee5506ef26aa2b3272ccf319ed274c2ba4974d

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 `SETITEMS` instruction.
      #
      # @note Introduced in protocol 1.
      #
      class SetItems < Instruction

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

      end

      # The `SETITEMS` instruction.
      SETITEMS = SetItems.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/set_items.rb
python-pickle-0.1.1 lib/python/pickle/instructions/set_items.rb
python-pickle-0.1.0 lib/python/pickle/instructions/set_items.rb