]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-139905: Provide suggestion in error message if `Generic.__init_subclass__...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 11 Oct 2025 15:36:44 +0000 (17:36 +0200)
committerGitHub <noreply@github.com>
Sat, 11 Oct 2025 15:36:44 +0000 (15:36 +0000)
commitcbb415e992df78e92244caa0611d2d7952f1719d
tree42ca56aff0f91be1fba6eeaa386e3e069a96a851
parent6a9908ee9469756229d021faf6c1fcb0210e5ba3
[3.13] gh-139905: Provide suggestion in error message if `Generic.__init_subclass__` was not called (GH-139943) (#139956)

gh-139905: Provide suggestion in error message if `Generic.__init_subclass__` was not called (GH-139943)
(cherry picked from commit 5776d0d2e08f4d93dcd62d875bae8c1396a04ba4)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Library/2025-10-11-10-02-56.gh-issue-139905.UyJIR_.rst [new file with mode: 0644]