Skip to content

Commit 638b7ec

Browse files
committed
Fix warning in sysmodule.c
1 parent 7e79509 commit 638b7ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/sysmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2165,8 +2165,8 @@ static PyObject *
21652165
sys__clear_internal_caches_impl(PyObject *module)
21662166
/*[clinic end generated code: output=0ee128670a4966d6 input=253e741ca744f6e8]*/
21672167
{
2168-
PyInterpreterState *interp = _PyInterpreterState_GET();
21692168
#ifdef _Py_TIER2
2169+
PyInterpreterState *interp = _PyInterpreterState_GET();
21702170
_Py_Executors_InvalidateAll(interp, 0);
21712171
#endif
21722172
PyType_ClearCache();

0 commit comments

Comments
 (0)