Commit 59d3a2e4 authored by Alexandre Vassalotti's avatar Alexandre Vassalotti

Fixed docstring of _bytesio._BytesIO.writelines().

parent de29536a
...@@ -543,10 +543,11 @@ bytesio_write(BytesIOObject *self, PyObject *obj) ...@@ -543,10 +543,11 @@ bytesio_write(BytesIOObject *self, PyObject *obj)
} }
PyDoc_STRVAR(writelines_doc, PyDoc_STRVAR(writelines_doc,
"writelines(sequence_of_strings) -> None. Write the strings to the file.\n" "writelines(sequence_of_strings) -> None. Write strings to the file.\n"
"\n" "\n"
"Note that newlines are not added. The sequence can be any iterable object\n" "Note that newlines are not added. The sequence can be any iterable\n"
"producing strings. This is equivalent to calling write() for each string."); "object producing strings. This is equivalent to calling write() for\n"
"each string.");
static PyObject * static PyObject *
bytesio_writelines(BytesIOObject *self, PyObject *v) bytesio_writelines(BytesIOObject *self, PyObject *v)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment