Serhiy Storchaka <[email protected]> added the comment:
Would it be too much if add a Python 2 rule for print statement in grammar to
produce better error message?
invalid_print_stmt:
| 'print' ( test (',' test)* [','] ] |
'>>' test [ (',' test)+ [','] ) {
RAISE_INVALID_PRINT_STATEMENT() }
----------
nosy: +pablogsal
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue34013>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com