def writelines(self, seq):
        """Write the elements of the sequence *seq* to the transport.

        This method will block if the transport's write buffer is at capacity.
        """
        self._check_writable()
        for line in seq:
            self._transport._can_write.wait()
            self._transport.write(line)
def writelines ( self , seq ) : self . _check_writable ( ) for line in seq : self . _transport . _can_write . wait ( ) self . _transport . write ( line )
Write the elements of the sequence *seq* to the transport.

        This method will block if the transport's write buffer is at capacity.