Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference Manual: "for statement" links to "break statement" #45472

Closed
Martoon mannequin opened this issue Sep 8, 2007 · 5 comments
Closed

Reference Manual: "for statement" links to "break statement" #45472

Martoon mannequin opened this issue Sep 8, 2007 · 5 comments
Assignees
Labels
docs Documentation in the Doc dir OS-windows

Comments

@Martoon
Copy link
Mannequin

Martoon mannequin commented Sep 8, 2007

BPO 1131
Nosy @freddrake, @birkenfeld

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/freddrake'
closed_at = <Date 2007-09-18.07:16:34.946>
created_at = <Date 2007-09-08.14:26:46.602>
labels = ['OS-windows', 'docs']
title = 'Reference Manual: "for statement" links to "break statement"'
updated_at = <Date 2007-09-18.07:16:34.902>
user = 'https://bugs.python.org/Martoon'

bugs.python.org fields:

activity = <Date 2007-09-18.07:16:34.902>
actor = 'georg.brandl'
assignee = 'fdrake'
closed = True
closed_date = <Date 2007-09-18.07:16:34.946>
closer = 'georg.brandl'
components = ['Documentation', 'Windows']
creation = <Date 2007-09-08.14:26:46.602>
creator = 'Martoon'
dependencies = []
files = []
hgrepos = []
issue_num = 1131
keywords = []
message_count = 5.0
messages = ['55749', '55956', '55985', '55986', '55990']
nosy_count = 4.0
nosy_names = ['fdrake', 'georg.brandl', 'jafo', 'Martoon']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1131'
versions = ['Python 2.5']

@Martoon
Copy link
Mannequin Author

Martoon mannequin commented Sep 8, 2007

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."

@Martoon Martoon mannequin added docs Documentation in the Doc dir OS-windows labels Sep 8, 2007
@jafo
Copy link
Mannequin

jafo mannequin commented Sep 17, 2007

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

@jafo jafo mannequin self-assigned this Sep 17, 2007
@Martoon
Copy link
Mannequin Author

Martoon mannequin commented Sep 17, 2007

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.

@jafo
Copy link
Mannequin

jafo mannequin commented Sep 17, 2007

I don't know anything about the .chm file. Fred: Do you know where this
comes from?

@jafo jafo mannequin assigned freddrake and unassigned jafo Sep 17, 2007
@birkenfeld
Copy link
Member

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]".

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir OS-windows
Projects
None yet
Development

No branches or pull requests

2 participants