Skip to content

Commit fb114cf

Browse files
authored
gh-139495: Fix hashlib.file_digest() versionchanged description of BlockingIOError (GH-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
1 parent af01b46 commit fb114cf

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
@@ -310,7 +310,7 @@ a file or file-like object.
310310
.. versionadded:: 3.11
311311

312312
.. versionchanged:: 3.14
313-
Now raises a :exc:`BlockingIOError` if the file is opened in blocking
313+
Now raises a :exc:`BlockingIOError` if the file is opened in non-blocking
314314
mode. Previously, spurious null bytes were added to the digest.
315315

316316

0 commit comments

Comments
 (0)