Sha256: 98ae075ccc2182183d35d1d88b8453bec4f5926c3a9746f5e9b3e2bc82e38e8a

Contents?: true

Size: 478 Bytes

Versions: 3

Compression:

Stored size: 478 Bytes

Contents

require 'python/pickle/instruction'

module Python
  module Pickle
    module Instructions
      #
      # Represents a pickle `FROZENSET` instruction.
      #
      # @note introduced in protocol 4.
      #
      class FrozenSet < Instruction

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

      end

      # The `FROZENSET` instruction.
      FROZENSET = FrozenSet.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/frozen_set.rb
python-pickle-0.1.1 lib/python/pickle/instructions/frozen_set.rb
python-pickle-0.1.0 lib/python/pickle/instructions/frozen_set.rb