Skip to content

Commit 60b561c

Browse files
bpo-21910: Clarify docs for codecs writelines method (GH-31245)
Co-authored-by: Jelle Zijlstra <[email protected]> (cherry picked from commit a8c87a2) Co-authored-by: slateny <[email protected]>
1 parent eb65e46 commit 60b561c

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
@@ -694,8 +694,9 @@ compatible with the Python codec registry.
694694

695695
.. method:: writelines(list)
696696

697-
Writes the concatenated list of strings to the stream (possibly by reusing
698-
the :meth:`write` method). The standard bytes-to-bytes codecs
697+
Writes the concatenated iterable of strings to the stream (possibly by reusing
698+
the :meth:`write` method). Infinite or
699+
very large iterables are not supported. The standard bytes-to-bytes codecs
699700
do not support this method.
700701

701702

0 commit comments

Comments
 (0)