bpo-21910: Clarify docs for codecs writelines method (GH-31245)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
slateny 2022-03-02 17:21:41 -08:00 committed by GitHub
parent 75d2d945b4
commit a8c87a239e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.