require 'python/pickle/instruction' module Python module Pickle module Instructions # # Represents a pickle `READONLY_BUFFER` instruction. # # @note introduced in protocol 5. # class ReadonlyBuffer < Instruction # # Initializes the `READONLY_BUFFER` instruction. # def initialize super(:READONLY_BUFFER) end end # The `READONLY_BUFFER` instruction. READONLY_BUFFER = ReadonlyBuffer.new end end end