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 ee47f24 commit 454309bCopy full SHA for 454309b
Python/sysmodule.c
@@ -2132,7 +2132,8 @@ sys__clear_type_cache_impl(PyObject *module)
2132
if (PyErr_WarnEx(PyExc_DeprecationWarning,
2133
"sys._clear_type_cache() is deprecated and scheduled for removal in a "
2134
"future version. Use the more general sys._clear_internal_caches() "
2135
- "function instead.", 1)) {
+ "function instead.", 1) < 0)
2136
+ {
2137
return NULL;
2138
}
2139
PyType_ClearCache();
0 commit comments