]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-21910: Clarify docs for codecs writelines method (GH-31245)
authorslateny <46876382+slateny@users.noreply.github.com>
Thu, 3 Mar 2022 01:21:41 +0000 (17:21 -0800)
committerGitHub <noreply@github.com>
Thu, 3 Mar 2022 01:21:41 +0000 (17:21 -0800)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Doc/library/codecs.rst

index 949288b7c6d9b77771c0c3e1018d4cca9604d853..76710974dd42725d67b0aee2a4867220f973171b 100644 (file)
@@ -697,8 +697,9 @@ compatible with the Python codec registry.
 
    .. method:: writelines(list)
 
-      Writes the concatenated list of strings to the stream (possibly by reusing
-      the :meth:`write` method). The standard bytes-to-bytes codecs
+      Writes the concatenated iterable of strings to the stream (possibly by reusing
+      the :meth:`write` method). Infinite or
+      very large iterables are not supported. The standard bytes-to-bytes codecs
       do not support this method.