parameters: (o, stream, **kwargs)
docstring: Pack object `o` and write it to `stream`
  
      See :class:`Packer` for options.
docstring_summary: Pack object `o` and write it to `stream`
docstring_tokens: Pack object o and write it to stream
function: def pack(o, stream, **kwargs):
      """
      Pack object `o` and write it to `stream`
  
      See :class:`Packer` for options.
      """
      packer = Packer(**kwargs)
      stream.write(packer.pack(o))
function_tokens: def pack ( o , stream , * * kwargs ) : packer = Packer ( * * kwargs ) stream . write ( packer . pack ( o ) )