]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44792: Improve syntax errors for if expressions (GH-27506) (GH-27565)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 Aug 2021 19:05:33 +0000 (12:05 -0700)
committerGitHub <noreply@github.com>
Mon, 2 Aug 2021 19:05:33 +0000 (20:05 +0100)
commit567176249ea95c074eb80199aaf19f3a55aa3954
treef480151241cd690cfea6c753645bb701243752ae
parentc6e7c9860d5ac968c7a1073fdbfbd44e0e87f582
bpo-44792: Improve syntax errors for if expressions (GH-27506) (GH-27565)

(cherry picked from commit 28b6dc9dd5d1ce6f8aff7e06d4ef9afdc2bc8332)

Co-authored-by: Miguel Brito <5544985+miguendes@users.noreply.github.com>
Grammar/python.gram
Lib/test/test_syntax.py
Misc/ACKS
Misc/NEWS.d/next/Core and Builtins/2021-07-31-12-12-57.bpo-44792.mOReTW.rst [new file with mode: 0644]
Parser/parser.c