示例#1
0
    def write(self, b):
        """
        Writes data to stdout as bytes.

        :param b: data to write
        """
        bytes_print(b, self._stdout)
示例#2
0
    def write(self, b):
        """
        Writes data to stdout as bytes.

        :param b: data to write
        """
        bytes_print(b, self._stdout)
示例#3
0
 def _handle_stream_task(self, data):
     fileobj = sys.stdout
     bytes_print(data)
     fileobj.flush()