Skip to content

Commit 1d80b5d

Browse files
committed
gh-83926: BlockingIOError characters_written is byte count
Tweak doc to highlight it's the number of bytes.
1 parent d13ee0a commit 1d80b5d

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
@@ -742,8 +742,8 @@ depending on the system error code.
742742

743743
.. attribute:: characters_written
744744

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

749749
.. exception:: ChildProcessError

0 commit comments

Comments
 (0)