File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ inline PyThreadState *get_thread_state_unchecked() {
154154}
155155
156156inline PyInterpreterState *get_interpreter_state_unchecked () {
157- auto tstate = get_thread_state_unchecked ();
157+ auto * tstate = get_thread_state_unchecked ();
158158 return tstate ? tstate->interp : nullptr ;
159159}
160160
@@ -163,7 +163,7 @@ inline object get_python_state_dict() {
163163#if defined(PYPY_VERSION) || defined(GRAALVM_PYTHON)
164164 state_dict = reinterpret_borrow<object>(PyEval_GetBuiltins ());
165165#else
166- auto istate = get_interpreter_state_unchecked ();
166+ auto * istate = get_interpreter_state_unchecked ();
167167 if (istate) {
168168 state_dict = reinterpret_borrow<object>(PyInterpreterState_GetDict (istate));
169169 }
You can’t perform that action at this time.
0 commit comments