diff options
Diffstat (limited to 'Modules/readline.c')
-rw-r--r-- | Modules/readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/readline.c b/Modules/readline.c index e151537..37baf87 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -178,7 +178,7 @@ set_hook(const char *funcname, PyObject **hook_var, Py_INCREF(function); *hook_var = function; Py_XDECREF(tmp); - *tstate = PyThreadState_Get(); + *tstate = PyThreadState_GET(); } else { PyOS_snprintf(buf, sizeof(buf), |