Skip to content

Commit a8c87a2

Browse files
bpo-21910: Clarify docs for codecs writelines method (GH-31245)
Co-authored-by: Jelle Zijlstra <[email protected]>
1 parent 75d2d94 commit a8c87a2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/codecs.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -697,8 +697,9 @@ compatible with the Python codec registry.
697697

698698
.. method:: writelines(list)
699699

700-
Writes the concatenated list of strings to the stream (possibly by reusing
701-
the :meth:`write` method). The standard bytes-to-bytes codecs
700+
Writes the concatenated iterable of strings to the stream (possibly by reusing
701+
the :meth:`write` method). Infinite or
702+
very large iterables are not supported. The standard bytes-to-bytes codecs
702703
do not support this method.
703704

704705

0 commit comments

Comments
 (0)