[issue41293] fix confusing example in hashlib docs

Gregory P. Smith report at bugs.python.org
Tue Jul 14 02:50:43 EDT 2020


Gregory P. Smith <greg at krypto.org> added the comment:

I probably I wrote these docs (a long time ago).  The examples are being used to demonstrate different uses of the APIs including calling update multiple times, different algorithms, a binary digest and a hex digest.  

They weren't mean to show equivalence, but I agree... the wording could be improved to make what they are doing and why more clear.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41293>
_______________________________________


More information about the Python-bugs-list mailing list