Skip to content

Commit ba6e602

Browse files
committed
Correct logic
1 parent 01d52ba commit ba6e602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/moduleobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ assert_def_missing_or_redundant(PyModuleObject *m) {
3333
* Modules created using a def keep a reference to that (statically
3434
* allocated) def; the info there should match what we have in the module.
3535
*/
36-
#ifdef NDEBUG
36+
#ifndef NDEBUG
3737
if (m->md_token_is_def) {
3838
PyModuleDef *def = (PyModuleDef *)m->md_token;
3939
assert(def);

0 commit comments

Comments
 (0)