We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 742d5b5 commit abcce09Copy full SHA for abcce09
Doc/library/hashlib.rst
@@ -284,7 +284,7 @@ a file or file-like object.
284
Example:
285
286
>>> import io, hashlib, hmac
287
- >>> with open(hashlib.__file__, "rb") as f:
+ >>> with open("path/to/file", "rb") as f:
288
... digest = hashlib.file_digest(f, "sha256")
289
...
290
>>> digest.hexdigest() # doctest: +ELLIPSIS
0 commit comments