Issue 45717: Bad link to python docs in help(_hashlib)

Issue45717

Created on 2021-11-04 19:07 by Joshuah143, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg405744 - (view) Author: Joshua (Joshuah143) * Date: 2021-11-04 19:07
I was attempting to look through hashlib to try and understand more about python's built-in hash functions. As part of this, I ran 'help(_hashlib)' which returns this text: 'MODULE REFERENCE
    https://docs.python.org/3.11/library/_hashlib.html'

This is an invalid link which has been an issue in all versions of the documentation I looked up.

As an aside, where would I find the source for _hashlib?
msg405766 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2021-11-05 03:54
I'm closing this as a duplicate of bpo-40051, as it's basically another manifestation of that issue.

However, any module named with a leading underscore is a private module, and won't have documentation.

The source for _hashlib can be found in Modules/_hashopenssl.c.
History
Date User Action Args
2022-04-11 14:59:52adminsetgithub: 89880
2021-11-05 03:54:42zach.waresetstatus: open -> closed

superseder: Give proper link in help(idlelib/turtledemo/tkinter.sub/test_*/?)

nosy: + zach.ware
messages: + msg405766
resolution: duplicate
stage: resolved

2021-11-04 19:07:09Joshuah143create