(self, object)
Writes the object's contents encoded to self.stream.
Writes the object's contents encoded to self.stream.
Writes the object s contents encoded to self . stream .
def write(self, object):

        """ Writes the object's contents encoded to self.stream.
        """
        data, consumed = self.encode(object, self.errors)
        self.stream.write(data)
def write ( self , object ) : data , consumed = self . encode ( object , self . errors ) self . stream . write ( data )