diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-03-02 17:43:00 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-02 17:43:00 -0800 |
commit | 60b561c246da2073672a016340457e4534dfdf5b (patch) | |
tree | e4104ef60299e361e7302f991a7a8fe3cbcb0fe3 | |
parent | eb65e46b9b28103767c115ccf71a97a9f4237d4c (diff) | |
download | cpython-git-60b561c246da2073672a016340457e4534dfdf5b.tar.gz |
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>
-rw-r--r-- | Doc/library/codecs.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index ef71832bce..1a1ce9237b 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. |