We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 467ec09 commit 9d1386aCopy full SHA for 9d1386a
Modules/_testcapi/heaptype.c
@@ -537,7 +537,7 @@ static PyObject *
537
pytype_getmodulebydef(PyObject *self, PyObject *type)
538
{
539
PyObject *mod = PyType_GetModuleByDef((PyTypeObject *)type, _testcapimodule);
540
- assert(mod == PyType_GetModuleByDef_DuringGC((PyTypeObject *)type, _testcapimodule));
+ assert(mod == PyType_GetModuleByToken_DuringGC((PyTypeObject *)type, _testcapimodule));
541
return Py_XNewRef(mod);
542
}
543
0 commit comments