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

'genexpr_for' in definition of 'call' in Language Reference. #48173

Closed
dangyogi mannequin opened this issue Sep 21, 2008 · 2 comments
Closed

'genexpr_for' in definition of 'call' in Language Reference. #48173

dangyogi mannequin opened this issue Sep 21, 2008 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@dangyogi
Copy link
Mannequin

dangyogi mannequin commented Sep 21, 2008

BPO 3923
Nosy @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/birkenfeld'
closed_at = <Date 2008-09-21.17:03:39.216>
created_at = <Date 2008-09-21.16:16:24.720>
labels = ['docs']
title = "'genexpr_for' in definition of 'call' in Language Reference."
updated_at = <Date 2008-09-21.17:03:39.207>
user = 'https://bugs.python.org/dangyogi'

bugs.python.org fields:

activity = <Date 2008-09-21.17:03:39.207>
actor = 'georg.brandl'
assignee = 'georg.brandl'
closed = True
closed_date = <Date 2008-09-21.17:03:39.216>
closer = 'georg.brandl'
components = ['Documentation']
creation = <Date 2008-09-21.16:16:24.720>
creator = 'dangyogi'
dependencies = []
files = []
hgrepos = []
issue_num = 3923
keywords = []
message_count = 2.0
messages = ['73513', '73515']
nosy_count = 2.0
nosy_names = ['georg.brandl', 'dangyogi']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue3923'
versions = ['Python 3.0']

@dangyogi
Copy link
Mannequin Author

dangyogi mannequin commented Sep 21, 2008

The definition of 'call' in the Language Reference refers to
'genexpr_for' which doesn't exist. Either 'genexpr_for' should be
changed to 'comp_for' or 'expression genexpr_for' should be changed to
'comprehension'. See the following:

http://docs.python.org/dev/3.0/reference/expressions.html#grammar-token-call
http://docs.python.org/dev/3.0/reference/expressions.html#grammar-token-comprehension

I also did not see any description if what happens if you use the
comprehension option (though I was scanning the text quickly and could
have missed it).

@dangyogi dangyogi mannequin assigned birkenfeld Sep 21, 2008
@dangyogi dangyogi mannequin added the docs Documentation in the Doc dir label Sep 21, 2008
@birkenfeld
Copy link
Member

Fixed in r66541.

@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
Projects
None yet
Development

No branches or pull requests

1 participant