classification
Title: target of 'import statement' entry in general index for 'i' is wrong
Type: enhancement Stage:
Components: Documentation Versions: Python 3.3, Python 3.5, Python 2.7
process
Status: pending Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, serhiy.storchaka, vy0123
Priority: normal Keywords:

Created on 2014-10-24 04:35 by vy0123, last changed 2020-02-26 19:11 by serhiy.storchaka.

Messages (2)
msg229914 - (view) Author: Van Ly (vy0123) * Date: 2014-10-24 04:35
The target points to within '__import__()' but should point to 'import()' method function.

For example,

# 'import statement' entry at index for 'i' on the following page
python-2.7.5-docs-html/genindex-I.html

# points to
python-2.7.5-docs-html/library/functions.html#index-8

# but should point to
python-2.7.5-docs-html/reference/simple_stmts.html#import
msg362714 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2020-02-26 19:11
There are 5 links for the "import statement" entry. Issue35506 partially solved the problem -- the main link is now emphasized. But it is still the last of links. I afraid it is a limitation of Sphinx.

If no other solution be proposed I'll close this issue as "won't fix".
History
Date User Action Args
2020-02-26 19:11:09serhiy.storchakasetstatus: open -> pending
nosy: + serhiy.storchaka
messages: + msg362714

2014-10-24 04:35:08vy0123create