mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Disambiguate the grammar for backtick.
The old syntax suggested that a trailing comma was OK inside backticks, but in fact (due to ideosyncrasies of pgen) it was not. Fix the grammar to avoid the ambiguity. Fred: you may want to update the refman.
This commit is contained in:
parent
a0a6c5a042
commit
2d3b986480
5 changed files with 93 additions and 59 deletions
|
@ -64,3 +64,4 @@
|
|||
#define list_iter 319
|
||||
#define list_for 320
|
||||
#define list_if 321
|
||||
#define testlist1 322
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue