Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7d06089

Browse files
committed
Fixed docstring of _bytesio._BytesIO.writelines().
1 parent 1bfe9dc commit 7d06089

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Modules/_bytesio.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -543,10 +543,11 @@ bytesio_write(BytesIOObject *self, PyObject *obj)
543543
}
544544

545545
PyDoc_STRVAR(writelines_doc,
546-
"writelines(sequence_of_strings) -> None. Write the strings to the file.\n"
546+
"writelines(sequence_of_strings) -> None. Write strings to the file.\n"
547547
"\n"
548-
"Note that newlines are not added. The sequence can be any iterable object\n"
549-
"producing strings. This is equivalent to calling write() for each string.");
548+
"Note that newlines are not added. The sequence can be any iterable\n"
549+
"object producing strings. This is equivalent to calling write() for\n"
550+
"each string.");
550551

551552
static PyObject *
552553
bytesio_writelines(BytesIOObject *self, PyObject *v)

0 commit comments

Comments
 (0)