mirror of
https://github.com/python/cpython.git
synced 2026-06-17 00:22:26 -04:00
Fixed docstring of _bytesio._BytesIO.writelines().
This commit is contained in:
+4
-3
@@ -543,10 +543,11 @@ bytesio_write(BytesIOObject *self, PyObject *obj)
|
||||
}
|
||||
|
||||
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"
|
||||
"Note that newlines are not added. The sequence can be any iterable object\n"
|
||||
"producing strings. This is equivalent to calling write() for each string.");
|
||||
"Note that newlines are not added. The sequence can be any iterable\n"
|
||||
"object producing strings. This is equivalent to calling write() for\n"
|
||||
"each string.");
|
||||
|
||||
static PyObject *
|
||||
bytesio_writelines(BytesIOObject *self, PyObject *v)
|
||||
|
||||
Reference in New Issue
Block a user