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
This commit is contained in:
Alex Willmer
2025-10-02 20:50:36 +01:00
committed by GitHub
parent af01b46866
commit fb114cf497

View File

@@ -310,7 +310,7 @@ a file or file-like object.
.. versionadded:: 3.11
.. versionchanged:: 3.14
Now raises a :exc:`BlockingIOError` if the file is opened in blocking
Now raises a :exc:`BlockingIOError` if the file is opened in non-blocking
mode. Previously, spurious null bytes were added to the digest.