mirror of
https://github.com/python/cpython.git
synced 2024-12-01 03:01:36 +01:00
ae14583302
The error message, generated for a non-parenthesized generator expression in function calls, was still the generic `invalid syntax`, when the generator expression wasn't appearing as the first argument in the call. With this patch, even on input like `f(a, b, c for c in d, e)`, the correct error message gets produced. |
||
---|---|---|
.. | ||
Grammar | ||
python.gram | ||
Tokens |