Skip to content

Commit

Permalink
Update Python/sysmodule.c
Browse files Browse the repository at this point in the history
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
  • Loading branch information
srinivasreddy and picnixz authored Jan 23, 2025
1 parent ee47f24 commit 454309b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Python/sysmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2132,7 +2132,8 @@ sys__clear_type_cache_impl(PyObject *module)
if (PyErr_WarnEx(PyExc_DeprecationWarning,
"sys._clear_type_cache() is deprecated and scheduled for removal in a "
"future version. Use the more general sys._clear_internal_caches() "
"function instead.", 1)) {
"function instead.", 1) < 0)
{
return NULL;
}
PyType_ClearCache();
Expand Down

0 comments on commit 454309b

Please sign in to comment.