[Python-checkins] bpo-21910: Clarify docs for codecs writelines method (GH-31245)
miss-islington
webhook-mailer at python.org
Wed Mar 2 20:43:04 EST 2022
https://github.com/python/cpython/commit/60b561c246da2073672a016340457e4534dfdf5b
commit: 60b561c246da2073672a016340457e4534dfdf5b
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-03-02T17:43:00-08:00
summary:
bpo-21910: Clarify docs for codecs writelines method (GH-31245)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra at gmail.com>
(cherry picked from commit a8c87a239ee1414d6dd0b062fe9ec3e5b0c50cb8)
Co-authored-by: slateny <46876382+slateny at users.noreply.github.com>
files:
M Doc/library/codecs.rst
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index ef71832bcef1d..1a1ce9237b010 100644
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -694,8 +694,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.
More information about the Python-checkins
mailing list