Title: set_display definition allows empty '{' '}' in Language Definition
Type: Stage:
Components: Documentation Versions: Python 3.0
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: dangyogi, georg.brandl
Priority: normal Keywords:

Created on 2008-09-21 00:37 by dangyogi, last changed 2008-09-21 07:10 by georg.brandl. This issue is now closed.

Messages (2)
msg73478 - (view) Author: Bruce Frederiksen (dangyogi) Date: 2008-09-21 00:37
The definition for set_display in the Language Definition allows for
empty curly braces by enclosing expression_list | comprehension in
brackets ('[', ']').  These brackets should be removed, as empty curly
braces are a dict_display.
msg73485 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-09-21 07:10
Thanks, fixed in r66522. Also removed the last two paragraphs of the set
display explanation which were pasted from genexps and made no sense,
and added a sentence about {} not constructing a set.
Date User Action Args
2008-09-21 07:10:30georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg73485
2008-09-21 00:37:57dangyogicreate