diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index 949288b7c6d9b7..76710974dd4272 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.