From: Cody Maloney Date: Tue, 16 Dec 2025 11:53:56 +0000 (-0800) Subject: gh-83926: BlockingIOError characters_written is byte count (#141215) X-Git-Tag: v3.15.0a3~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e12c744b0a9322186146a90a5d2283d9a1049d31;p=thirdparty%2FPython%2Fcpython.git gh-83926: BlockingIOError characters_written is byte count (#141215) --- diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index b5e3a84b4556..f3aca1ba4925 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