Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
| ast_error(c, chch, | ||
| "lambda cannot contain assignment"); | ||
| return NULL; | ||
| } | ||
| else if (e->kind != Name_kind) { | ||
| } else if (TYPE(expr_node) != NAME) { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
For PEP 7, break a line after "}".
| @@ -0,0 +1,2 @@ | |||
| Further restrict the syntax of the left-hand side of keyword arguments in | |||
| function calls. In particular, ``f((arg)=default)`` is now disallowed. | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
default looks a bad name. It is not function definition, but a function call.
https://bugs.python.org/issue34641