]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43770: Cleanup PyModuleDef_Init() (GH-26879)
authorVictor Stinner <vstinner@python.org>
Wed, 23 Jun 2021 13:40:27 +0000 (15:40 +0200)
committerGitHub <noreply@github.com>
Wed, 23 Jun 2021 13:40:27 +0000 (15:40 +0200)
commit2a396d65b8e63300ff05e217adacf0765c502ba3
tree07f301bc8df980ca91fba7be433b285eeefbf386
parenta50e28377bcf37121b55c2de70d95a5386c478f8
bpo-43770:  Cleanup PyModuleDef_Init() (GH-26879)

PyModuleDef_Init() no longer tries to make PyModule_Type type: it's
already done by _PyTypes_Init() at Python startup. Replace
PyType_Ready() call with an assertion.
Objects/moduleobject.c