From 1d80b5de0bb5ea030712ae5f118392992c1121be Mon Sep 17 00:00:00 2001 From: Cody Maloney Date: Fri, 7 Nov 2025 13:12:18 -0800 Subject: [PATCH] gh-83926: BlockingIOError characters_written is byte count Tweak doc to highlight it's the number of bytes. --- Doc/library/exceptions.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index 16d42c010f6df0..4c88b15f5ab404 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