diff options
Diffstat (limited to 'Modules/faulthandler.c')
-rw-r--r-- | Modules/faulthandler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c index f53ea3f..530ddc7 100644 --- a/Modules/faulthandler.c +++ b/Modules/faulthandler.c @@ -1115,8 +1115,8 @@ faulthandler_env_options(void) has_key = PyDict_Contains(xoptions, key); Py_DECREF(key); - if (!has_key) - return 0; + if (has_key <= 0) + return has_key; } module = PyImport_ImportModule("faulthandler"); |