'Write a list (or any iterable) of data bytes to the transport.
The default implementation concatenates the arguments and
calls write() on the result.'

def writelines(self, list_of_data):

    data = ''.join(list_of_data)
    self.write(data)
