mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
Get rid of some more cases of backquotes. parsermodule.c doesn't compile
but looks like that was a problem before this change.
This commit is contained in:
parent
3bd844e695
commit
2eca440c8d
6 changed files with 3 additions and 17 deletions
|
@ -2404,11 +2404,6 @@ validate_atom(node *tree)
|
|||
if (res && (nch == 3))
|
||||
res = validate_dictmaker(CHILD(tree, 1));
|
||||
break;
|
||||
case BACKQUOTE:
|
||||
res = ((nch == 3)
|
||||
&& validate_testlist1(CHILD(tree, 1))
|
||||
&& validate_ntype(CHILD(tree, 2), BACKQUOTE));
|
||||
break;
|
||||
case NAME:
|
||||
case NUMBER:
|
||||
res = (nch == 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue