mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
A few more PyThreadState_Get to PyThreadState_GET conversions
This commit is contained in:
parent
f167dc3380
commit
2786d90617
3 changed files with 3 additions and 3 deletions
|
@ -4457,7 +4457,7 @@ DL_EXPORT(void) init_bsddb(void)
|
|||
|
||||
#if defined(WITH_THREAD) && !defined(MYDB_USE_GILSTATE)
|
||||
/* Save the current interpreter, so callbacks can do the right thing. */
|
||||
_db_interpreterState = PyThreadState_Get()->interp;
|
||||
_db_interpreterState = PyThreadState_GET()->interp;
|
||||
#endif
|
||||
|
||||
/* Create the module and add the functions */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue