[issue22714] target of 'import statement' entry in general index for 'i' is wrong

New submission from Van Ly: 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 ---------- assignee: docs@python components: Documentation messages: 229914 nosy: docs@python, vy0123 priority: normal severity: normal status: open title: target of 'import statement' entry in general index for 'i' is wrong type: enhancement versions: Python 2.7, Python 3.3, Python 3.5 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue22714> _______________________________________

Serhiy Storchaka <storchaka+cpython@gmail.com> added the comment: 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". ---------- nosy: +serhiy.storchaka status: open -> pending _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue22714> _______________________________________
participants (2)
-
Serhiy Storchaka
-
Van Ly