Skip to content

Commit 301d078

Browse files
miss-islingtonslateny
authored andcommitted
bpo-21910: Clarify docs for codecs writelines method (pythonGH-31245)
Co-authored-by: Jelle Zijlstra <[email protected]> (cherry picked from commit a8c87a2) Co-authored-by: slateny <[email protected]>
1 parent c36f6d7 commit 301d078

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

692692
.. method:: writelines(list)
693693

694-
Writes the concatenated list of strings to the stream (possibly by reusing
695-
the :meth:`write` method). The standard bytes-to-bytes codecs
694+
Writes the concatenated iterable of strings to the stream (possibly by reusing
695+
the :meth:`write` method). Infinite or
696+
very large iterables are not supported. The standard bytes-to-bytes codecs
696697
do not support this method.
697698

698699

0 commit comments

Comments
 (0)