Error in the Windows distro documentation. If you go to "for" or "for statement" in the index, it brings you to the doc page for "The break statement."
Can I get more information about how to reproduce this? What is it you do to get to this? It sounds like you're talking about some HTML documentation, but if I go to the current documentation in the Language section, and click on the "for" section, I do get the for document: http://docs.python.org/dev/reference/compound_stmts.html#the-for-statement
It's the Python25.chm file in the Windows distro. I don't have a linux box or a Mac, so I can't verify anything on them. I suspect it's just the .chm file in Windows. If you open it, click the "Index" tab, and select "for" or "for statement" from the keyword list, it jumps to the "break statement" page in the html view pane. I've since noticed that it incorrectly links a lot of other keywords, so it appears to be a global problem in the .chm file. Everything in the nested view in the "Contents" tab seems to link correctly. It's just the keyword list in the "Index" tab.
There's nothing we can do here. There are three index entries for "for statement", which link to the for, break and continue pages. They can't be told apart, so we can't choose which one will be the first, the one to display "for statement", and which will be those to display "[Link]".
History
Date
User
Action
Args
2022-04-11 14:56:26
admin
set
github: 45472
2007-09-18 07:16:34
georg.brandl
set
status: open -> closedresolution: wont fixmessages: + nosy: + georg.brandl