parameters: (self, object)
docstring: Writes the object's contents encoded to self.stream.
docstring_summary: Writes the object's contents encoded to self.stream.
docstring_tokens: Writes the object s contents encoded to self . stream .
function: def write(self, object):
  
          """ Writes the object's contents encoded to self.stream.
          """
          data, consumed = self.encode(object, self.errors)
          self.stream.write(data)
function_tokens: def write ( self , object ) : data , consumed = self . encode ( object , self . errors ) self . stream . write ( data )