예제 #1
0
    def writelines(self, list_of_data):
        """Write a list (or any iterable) of data bytes to the transport.

        The default implementation concatenates the arguments and
        calls write() on the result.
        """
        data = compat.flatten_list_bytes(list_of_data)
        self.write(data)
예제 #2
0
    def writelines(self, list_of_data):
        """Write a list (or any iterable) of data bytes to the transport.

        The default implementation concatenates the arguments and
        calls write() on the result.
        """
        data = compat.flatten_list_bytes(list_of_data)
        self.write(data)