def writelines(self, sequence):
for line in sequence:<EOL><INDENT>self.write(line)<EOL><DEDENT>return<EOL>
Write a sequence of strings to the file.  The sequence can be any
iterable object producing strings, typically a list of strings.  (The
name is intended to match `readlines`; `writelines` does not add line
separators.)

:param sequence: an iterable sequence of strings.