summaryrefslogtreecommitdiffstats
path: root/Doc/library/codecs.rst
diff options
context:
space:
mode:
authorslateny <46876382+slateny@users.noreply.github.com>2022-03-03 01:21:41 (GMT)
committerGitHub <noreply@github.com>2022-03-03 01:21:41 (GMT)
commita8c87a239ee1414d6dd0b062fe9ec3e5b0c50cb8 (patch)
tree5cd8a3cfdb6a8569088fd47160fdfc0180073659 /Doc/library/codecs.rst
parent75d2d945b4e28ca34506b2d4902367b61a8dff82 (diff)
downloadcpython-a8c87a239ee1414d6dd0b062fe9ec3e5b0c50cb8.zip
cpython-a8c87a239ee1414d6dd0b062fe9ec3e5b0c50cb8.tar.gz
cpython-a8c87a239ee1414d6dd0b062fe9ec3e5b0c50cb8.tar.bz2
bpo-21910: Clarify docs for codecs writelines method (GH-31245)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Doc/library/codecs.rst')
-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 949288b..7671097 100644
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -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.