style: pre-commit fixes

This commit is contained in:
pre-commit-ci[bot] 2022-11-02 21:36:59 +00:00
parent 780c6ff9c8
commit 39c21a36e4
1 changed files with 3 additions and 3 deletions

View File

@ -406,11 +406,11 @@ inline object get_internals_state_dict() {
#if PY_VERSION_HEX < 0x03080000 || defined(PYPY_VERSION)
state_dict = reinterpret_borrow<object>(PyEval_GetBuiltins());
#else
# if PY_VERSION_HEX < 0x03090000
# if PY_VERSION_HEX < 0x03090000
PyInterpreterState *istate = _PyInterpreterState_Get();
#else
# else
PyInterpreterState *istate = PyInterpreterState_Get();
#endif
# endif
if (istate)
state_dict = reinterpret_borrow<object>(PyInterpreterState_GetDict(istate));
#endif