This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Links wrongly targeting to builtin functions' instead of module functions/methods
Type: Stage:
Components: Documentation Versions: Python 3.0, Python 3.1, Python 3.2, Python 2.7, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, zuo
Priority: normal Keywords:

Created on 2009-07-26 13:38 by zuo, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg90943 - (view) Author: Jan Kaliszewski (zuo) Date: 2009-07-26 13:38
The problem can be found in many places in docs -- tipically, where 
there is a function/method with name identical to builtin name (or 
sometimes to another function/method within the same module -- see: 
#6575): links leads to te latter but should lead to the former.

One example -- open():

http://docs.python.org/library/shelve.html?
highlight=open#shelve.DbfilenameShelf
http://docs.python.org/library/shelve.html?highlight=open#example

http://docs.python.org/library/sunau.html?highlight=open#sunau.openfp
http://docs.python.org/library/sunau.html?highlight=open#au-read-objects
http://docs.python.org/library/sunau.html?highlight=open#au-write-
objects

http://docs.python.org/library/wave.html?highlight=open#wave.openfp
http://docs.python.org/library/wave.html?highlight=open#wave-read-
objects
http://docs.python.org/library/wave.html?highlight=open#wave-write-
objects

http://docs.python.org/library/io.html?highlight=open#module-interface
http://docs.python.org/library/io.html?highlight=open#io.open
http://docs.python.org/library/io.html?highlight=open#io.IOBase.readline

It's hard to find all such place by hand; probably it's a job for a 
script...
msg90947 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-07-26 14:20
I made an exhaustive search for all builtins; should now be fixed in
r74207. Thanks for making me do it properly :)
History
Date User Action Args
2022-04-11 14:56:51adminsetgithub: 50826
2009-07-26 14:20:03georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg90947
2009-07-26 13:38:28zuocreate