]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-89546: Clean up PyType_FromMetaclass (GH-93686)
authorPetr Viktorin <encukou@gmail.com>
Tue, 14 Jun 2022 09:13:29 +0000 (11:13 +0200)
committerGitHub <noreply@github.com>
Tue, 14 Jun 2022 09:13:29 +0000 (02:13 -0700)
commit3597c129413a86f805beca78b7c72a20b5bf801c
treef02588dbe3d96dcb1e8adf30083c385609836033
parent5bcf33de0b6729bbd4ced442f69c55ff99ea4be0
gh-89546: Clean up PyType_FromMetaclass (GH-93686)

When changing PyType_FromMetaclass recently (GH-93012, GH-93466, GH-28748)
I found a bunch of opportunities to improve the code. Here they are.

Fixes: #89546
Automerge-Triggered-By: GH:encukou
Misc/NEWS.d/next/C API/2022-06-10-16-50-27.gh-issue-89546.mX1f10.rst [new file with mode: 0644]
Modules/_testcapimodule.c
Objects/typeobject.c