diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-09-30 21:07:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-30 21:07:05 +0300 |
commit | 2a2940e5c3e6d92f4fac5e9d361a1e224bb2f12e (patch) | |
tree | f703ecf4a37603fcc39e4d30bbec30c0f262e3f0 /Python/Python-ast.c | |
parent | d5bd036138881bb90a803397d992870a46fbdc2d (diff) | |
download | cpython-git-2a2940e5c3e6d92f4fac5e9d361a1e224bb2f12e.tar.gz |
bpo-34854: Fix compiling string annotations containing lambdas. (GH-9645)
* Compiling a string annotation containing a lambda with keyword-only
argument without default value caused a crash.
* Remove the final "*" (it is incorrect syntax) in the representation of
lambda without *args and keyword-only arguments when compile from AST.
* Improve the representation of lambda without arguments.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions