[3.14] gh-83926: BlockingIOError characters_written is byte count (GH-141215) (#142816)

gh-83926: BlockingIOError characters_written is byte count (GH-141215)
(cherry picked from commit e12c744b0a)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2025-12-16 13:03:47 +01:00 committed by GitHub
parent 5bd413f1f4
commit c727b99cf2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -735,8 +735,8 @@ depending on the system error code.
.. attribute:: characters_written
An integer containing the number of characters written to the stream
before it blocked. This attribute is available when using the
An integer containing the number of **bytes** written to the stream
before it blocked. This attribute is available when using the
buffered I/O classes from the :mod:`io` module.
.. exception:: ChildProcessError