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 fdff39b commit 7c29575Copy full SHA for 7c29575
Objects/moduleobject.c
@@ -33,7 +33,7 @@ assert_def_missing_or_redundant(PyModuleObject *m) {
33
* Modules created using a def keep a reference to that (statically
34
* allocated) def; the info there should match what we have in the module.
35
*/
36
-#ifdef Py_DEBUG
+#ifdef NDEBUG
37
if (m->md_token_is_def) {
38
PyModuleDef *def = (PyModuleDef *)m->md_token;
39
assert(def);
@@ -44,7 +44,7 @@ assert_def_missing_or_redundant(PyModuleObject *m) {
44
DO_ASSERT(free);
45
#undef DO_ASSERT
46
}
47
-#endif // Py_DEBUG
+#endif // NDEBUG
48
49
50
0 commit comments