Skip to content

Commit 2bec5d9

Browse files
moreatimiss-islington
authored andcommitted
pythongh-139495: Fix hashlib.file_digest() versionchanged description of BlockingIOError (pythonGH-139496)
* 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) Co-authored-by: Alex Willmer <[email protected]>
1 parent a312dd0 commit 2bec5d9

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.14
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)