def write(self, output):
        """
        Writes specified text to the underlying stream

        Parameters
        ----------
        output bytes-like object
            Bytes to write
        """
        self._stream.write(output)

        if self._auto_flush:
            self._stream.flush()
def write ( self , output ) : self . _stream . write ( output ) if self . _auto_flush : self . _stream . flush ( )
Writes specified text to the underlying stream

        Parameters
        ----------
        output bytes-like object
            Bytes to write