Skip to content

Commit 0310eb2

Browse files
Update Python/sysmodule.c
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 8366a2d commit 0310eb2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Python/sysmodule.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,10 +2147,11 @@ sys__clear_type_cache_impl(PyObject *module)
21472147
/*[clinic end generated code: output=20e48ca54a6f6971 input=127f3e04a8d9b555]*/
21482148
{
21492149
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){
2150+
"sys._clear_type_cache() is deprecated and"
2151+
" scheduled for removal in a future version."
2152+
" Use sys._clear_internal_caches() instead.",
2153+
1) < 0)
2154+
{
21542155
return NULL;
21552156
}
21562157
PyType_ClearCache();

0 commit comments

Comments
 (0)