diff --git a/Modules/readline.c b/Modules/readline.c index 8a1a2a80171..225d06b0360 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -87,7 +87,7 @@ typedef struct { } readlinestate; static inline readlinestate* -get_readline_state(PyModule *module) +get_readline_state(PyObject *module) { void *state = PyModule_GetState(module); assert(state != NULL);