[issue40960] Fix the example in hashlib documentarion

Cheryl Sabella report at bugs.python.org
Fri Jun 12 07:48:23 EDT 2020


Cheryl Sabella <cheryl.sabella at gmail.com> added the comment:

Hi Marcelo,

Thanks for the report.  The version of the documentation that you linked to is for Python 2.  At the top of that page, there is a redirect to the Python 3 documentation at https://docs.python.org/3/library/hashlib.html.  You'll see that the Python 3 documentation does use bytes for that example.

----------
nosy: +cheryl.sabella
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list