Revert "Merge pull request #27592 from rintaro/syntaxparse-exprtuple"

This reverts commit cdfd1ab2cf, reversing
changes made to eb02f20f99.
This commit is contained in:
Rintaro Ishizaki
2019-10-14 12:15:48 -07:00
parent b56c543f0d
commit 0e8010d8b9
16 changed files with 148 additions and 259 deletions

View File

@@ -218,12 +218,8 @@ EXPR_NODES = [
Node('TupleExprElement', kind='Syntax',
traits=['WithTrailingComma'],
children=[
Child('Label', kind='Token',
is_optional=True,
token_choices=[
'IdentifierToken',
'WildcardToken'
]),
Child('Label', kind='IdentifierToken',
is_optional=True),
Child('Colon', kind='ColonToken',
is_optional=True),
Child('Expression', kind='Expr'),