[issue10446] pydoc3 links to 2.x library reference
report at bugs.python.org
Thu Nov 18 05:21:20 CET 2010
Ron Adam <ron_adam at users.sourceforge.net> added the comment:
I noticed in your patch, the disclaimer only prints when pydoc can find a doc location (docloc is not None). So it may not get displayed at all depending on how python is installed. I also think having it on every page may be a bit overly cautious. (IMHO)
I'm also not sure it is correct to have that when viewing third party modules as the doc location in those cases will be broken anyway.
The obvious places to put it are:
* top of the pydoc html module index. (first page displayed)
* in the welcome message for interactive help()
It can still be defined in one location and then use "+ pydoc_disclaimer" in the desired locations.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list