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 8366a2d commit 0310eb2Copy full SHA for 0310eb2
Python/sysmodule.c
@@ -2147,10 +2147,11 @@ sys__clear_type_cache_impl(PyObject *module)
2147
/*[clinic end generated code: output=20e48ca54a6f6971 input=127f3e04a8d9b555]*/
2148
{
2149
if (PyErr_WarnEx(PyExc_DeprecationWarning,
2150
- "sys._clear_type_cache() is deprecated and scheduled"
2151
- " for removal in a future version. Use the more general"
2152
- " sys._clear_internal_caches() function instead.",
2153
- 1) < 0){
+ "sys._clear_type_cache() is deprecated and"
+ " scheduled for removal in a future version."
+ " Use sys._clear_internal_caches() instead.",
+ 1) < 0)
2154
+ {
2155
return NULL;
2156
}
2157
PyType_ClearCache();
0 commit comments