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 0f1938b commit bb973eaCopy full SHA for bb973ea
Python/sysmodule.c
@@ -2132,8 +2132,9 @@ sys__clear_type_cache_impl(PyObject *module)
2132
/*[clinic end generated code: output=20e48ca54a6f6971 input=3997d1000692310e]*/
2133
{
2134
if (PyErr_WarnEx(PyExc_DeprecationWarning,
2135
- "sys._clear_type_cache() is deprecated "
2136
- "and will be removed in future python versions", 1)) {
+ "sys._clear_type_cache() is deprecated and scheduled for removal in a "
+ "future version. Use the more general sys._clear_internal_caches() "
2137
+ "function instead.", 1)) {
2138
return NULL;
2139
}
2140
PyType_ClearCache();
0 commit comments