[Python-checkins] bpo-21910: Clarify docs for codecs writelines method (GH-31245)
JelleZijlstra
webhook-mailer at python.org
Wed Mar 2 20:21:45 EST 2022
https://github.com/python/cpython/commit/a8c87a239ee1414d6dd0b062fe9ec3e5b0c50cb8
commit: a8c87a239ee1414d6dd0b062fe9ec3e5b0c50cb8
branch: main
author: slateny <46876382+slateny at users.noreply.github.com>
committer: JelleZijlstra <jelle.zijlstra at gmail.com>
date: 2022-03-02T17:21:41-08:00
summary:
bpo-21910: Clarify docs for codecs writelines method (GH-31245)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra at gmail.com>
files:
M Doc/library/codecs.rst
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index 949288b7c6d9b..76710974dd427 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.
More information about the Python-checkins
mailing list