Skip to content

Commit bf9d410

Browse files
authored
[3.13] pythongh-139495: Fix hashlib.file_digest() versionchanged description of BlockingIOError (pythonGH-139496) (python#139528)
* Fix `hashlib.file_digest()` versionchanged description of `BlockingIOError` The sentence was missing a negation and contradicted the other two descriptions in the same commit. I believe code behaviour is correct. * fixup! Fix `hashlib.file_digest()` versionchanged description of `BlockingIOError` * Remove unncessary NEWS.d entry (cherry picked from commit fb114cf)
1 parent a75676b commit bf9d410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/hashlib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ a file or file-like object.
303303
.. versionadded:: 3.11
304304

305305
.. versionchanged:: 3.13.4
306-
Now raises a :exc:`BlockingIOError` if the file is opened in blocking
306+
Now raises a :exc:`BlockingIOError` if the file is opened in non-blocking
307307
mode. Previously, spurious null bytes were added to the digest.
308308

309309

0 commit comments

Comments
 (0)