mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
bpo-21910: Clarify docs for codecs writelines method (GH-31245)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit a8c87a239e)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
This commit is contained in:
parent
359bc392ba
commit
cf8aff6319
1 changed files with 3 additions and 2 deletions
|
|
@ -691,8 +691,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.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue