[issue46167] Parse assert (x == y, "Descriptive text") as statement params instead of a tuple
Pablo Galindo Salgado
report at bugs.python.org
Fri Dec 24 00:14:07 EST 2021
Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:
We could do this, but feels a bit hacky:
| 'assert' '(' a=expression b=[',' z=expression { z }] ')' &(NEWLINE | ';')
| 'assert' a=expression b=[',' z=expression { z }]
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46167>
_______________________________________
More information about the Python-bugs-list
mailing list