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 4d37b42 commit cb02dc0Copy full SHA for cb02dc0
Modules/_testcapimodule.c
@@ -7824,7 +7824,7 @@ PyInit__testcapi(void)
7824
7825
PyObject *HeapCTypeWithDict2 = PyType_FromSpec(&HeapCTypeWithDict2_spec);
7826
if (HeapCTypeWithDict2 == NULL) {
7827
- return -1;
+ return NULL;
7828
}
7829
PyModule_AddObject(m, "HeapCTypeWithDict2", HeapCTypeWithDict2);
7830
@@ -7848,7 +7848,7 @@ PyInit__testcapi(void)
7848
7849
PyObject *HeapCTypeWithWeakref2 = PyType_FromSpec(&HeapCTypeWithWeakref2_spec);
7850
if (HeapCTypeWithWeakref2 == NULL) {
7851
7852
7853
PyModule_AddObject(m, "HeapCTypeWithWeakref2", HeapCTypeWithWeakref2);
7854
0 commit comments