[issue41293] fix confusing example in hashlib docs

2020-07-13 Thread Pavel Trukhanov
Change by Pavel Trukhanov : -- type: -> enhancement versions: +Python 3.10, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issu

[issue41293] fix confusing example in hashlib docs

2020-07-13 Thread Pavel Trukhanov
New submission from Pavel Trukhanov : The documentation found in https://docs.python.org/3/library/hashlib.html#hash-algorithms give us the following two examples: ``` For example, to obtain the digest of the byte string b'Nobody inspects the spammish repetition': >>> >>&