diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-01-13 09:42:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 09:42:47 (GMT) |
commit | 3ce6945f5f434806eea700eb5ff1bed6d39395e1 (patch) | |
tree | 989941e98657544c331e7267e77ad4260a0df279 /Doc | |
parent | a468866a67d83a24e3a3c3a0070129773d28bbd9 (diff) | |
download | cpython-3ce6945f5f434806eea700eb5ff1bed6d39395e1.zip cpython-3ce6945f5f434806eea700eb5ff1bed6d39395e1.tar.gz cpython-3ce6945f5f434806eea700eb5ff1bed6d39395e1.tar.bz2 |
Define Py_BUILD_CORE_MODULE
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/hashlib.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst index 0c3bd7b..53320d9 100644 --- a/Doc/library/hashlib.rst +++ b/Doc/library/hashlib.rst @@ -120,10 +120,10 @@ More condensed: Using :func:`new` with an algorithm provided by OpenSSL: - >>> h = hashlib.new('sha512_256') + >>> h = hashlib.new('sha256') >>> h.update(b"Nobody inspects the spammish repetition") >>> h.hexdigest() - '19197dc4d03829df858011c6c87600f994a858103bbc19005f20987aa19a97e2' + '031edd7d41651593c5fe5c006fa5752b37fddff7bc4e843aa6af0c950f4b9406' Hashlib provides the following constant attributes: |