https://github.com/python/cpython/commit/c727b99cf213b864fcf720571d6170d722845c0b commit: c727b99cf213b864fcf720571d6170d722845c0b branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: vstinner <[email protected]> date: 2025-12-16T12:03:47Z summary:
[3.14] gh-83926: BlockingIOError characters_written is byte count (GH-141215) (#142816) gh-83926: BlockingIOError characters_written is byte count (GH-141215) (cherry picked from commit e12c744b0a9322186146a90a5d2283d9a1049d31) Co-authored-by: Cody Maloney <[email protected]> files: M Doc/library/exceptions.rst diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index 9d3e0a4c20f9eb..3f1ec95005cbb5 100644 --- a/Doc/library/exceptions.rst +++ b/Doc/library/exceptions.rst @@ -735,8 +735,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]
