https://github.com/python/cpython/commit/e12c744b0a9322186146a90a5d2283d9a1049d31
commit: e12c744b0a9322186146a90a5d2283d9a1049d31
branch: main
author: Cody Maloney <[email protected]>
committer: hugovk <[email protected]>
date: 2025-12-16T13:53:56+02:00
summary:

gh-83926: BlockingIOError characters_written is byte count (#141215)

files:
M Doc/library/exceptions.rst

diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index b5e3a84b4556dd..f3aca1ba49257b 100644
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -742,8 +742,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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to