]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-110938: Fix error messages for indented blocks with functio… (#110990)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Wed, 18 Oct 2023 05:26:34 +0000 (22:26 -0700)
committerGitHub <noreply@github.com>
Wed, 18 Oct 2023 05:26:34 +0000 (22:26 -0700)
commit2bca5f43af8fc1c7643fb7769d04a25fbd5f0d98
tree930ede65a8998242c5b5f6ed477b1084a7bd9190
parent8134811089f1907ea56085c6a7de9ce0afbc56c8
[3.12] gh-110938: Fix error messages for indented blocks with functio… (#110990)

[3.12] gh-110938: Fix error messages for indented blocks with functions and classes with generic type parameters (GH-110973)
(cherry picked from commit 24e4ec7766fd471deb5b7e5087f0e7dba8576cfb)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Grammar/python.gram
Lib/test/test_syntax.py
Misc/NEWS.d/next/Core and Builtins/2023-10-17-11-03-45.gh-issue-110938.X3sbMb.rst [new file with mode: 0644]
Parser/parser.c