summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-03-03 01:45:36 (GMT)
committerGitHub <noreply@github.com>2022-03-03 01:45:36 (GMT)
commitcf8aff6319794807aa578215710e6caa4479516f (patch)
tree5dc7351b1b781b6f590d75bc5f7b746cd41f1efe /Doc
parent359bc392ba2b8f2acca223426c8210bb74f724c6 (diff)
downloadcpython-cf8aff6319794807aa578215710e6caa4479516f.zip
cpython-cf8aff6319794807aa578215710e6caa4479516f.tar.gz
cpython-cf8aff6319794807aa578215710e6caa4479516f.tar.bz2
bpo-21910: Clarify docs for codecs writelines method (GH-31245)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit a8c87a239ee1414d6dd0b062fe9ec3e5b0c50cb8) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/codecs.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index 2f7497c..3386208 100644
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -691,8 +691,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.