From a8c87a239ee1414d6dd0b062fe9ec3e5b0c50cb8 Mon Sep 17 00:00:00 2001 From: slateny <46876382+slateny@users.noreply.github.com> Date: Wed, 2 Mar 2022 17:21:41 -0800 Subject: bpo-21910: Clarify docs for codecs writelines method (GH-31245) Co-authored-by: Jelle Zijlstra --- Doc/library/codecs.rst | 5 +++-- 1 file 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. -- cgit v0.12