summaryrefslogtreecommitdiffstats
path: root/Modules/_bsddb.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_bsddb.c')
-rw-r--r--Modules/_bsddb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c
index 444a009..6eb4866 100644
--- a/Modules/_bsddb.c
+++ b/Modules/_bsddb.c
@@ -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 */