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.
__file__
hashlib
1 parent 79f20f1 commit b212653Copy full SHA for b212653
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("library/hashlib.rst", "rb") as f:
288
... digest = hashlib.file_digest(f, "sha256")
289
...
290
>>> digest.hexdigest() # doctest: +ELLIPSIS
0 commit comments