New submission from Pablo Galindo Salgado <[email protected]>:
There is a non-trivial ammount of users that try to parenthesize lambda
parameters:
>>> lambda (x,y,z): x+y+z
File "<stdin>", line 1
lambda (x,y,z): x+y+z
^
SyntaxError: invalid syntax
We should improve the error message in this case
----------
messages: 403747
nosy: pablogsal
priority: normal
severity: normal
status: open
title: Improve syntax error for parenthesized arguments
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue45450>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com