Skip to content

Commit bc06622

Browse files
cmaloneymiss-islington
authored andcommitted
gh-83926: BlockingIOError characters_written is byte count (GH-141215)
(cherry picked from commit e12c744) Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
1 parent 6545f24 commit bc06622

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/exceptions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -735,8 +735,8 @@ depending on the system error code.
735735

736736
.. attribute:: characters_written
737737

738-
An integer containing the number of characters written to the stream
739-
before it blocked. This attribute is available when using the
738+
An integer containing the number of **bytes** written to the stream
739+
before it blocked. This attribute is available when using the
740740
buffered I/O classes from the :mod:`io` module.
741741

742742
.. exception:: ChildProcessError

0 commit comments

Comments
 (0)