summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/readline.c b/Modules/readline.c
index 8a1a2a8..225d06b 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);