From 5f104d56fa10f88098338b3f1ea74bcbe6924ca9 Mon Sep 17 00:00:00 2001 From: Hai Shi Date: Tue, 17 Mar 2020 01:16:32 +0800 Subject: [PATCH] bpo-39968: Fix a typo error in get_readline_state() (GH-19028) --- Modules/readline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);