'Write a sequence of byte strings to the file.
Returns the number of uncompressed bytes written.
seq can be any iterable yielding byte strings.
Line separators are not added between the written byte strings.'

def writelines(self, seq):

    with self._lock:
        return _compression.BaseStream.writelines(self, seq)
