From: Hai Shi Date: Mon, 16 Mar 2020 17:16:32 +0000 (+0800) Subject: bpo-39968: Fix a typo error in get_readline_state() (GH-19028) X-Git-Tag: v3.9.0a5~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f104d56fa10f88098338b3f1ea74bcbe6924ca9;p=thirdparty%2FPython%2Fcpython.git bpo-39968: Fix a typo error in get_readline_state() (GH-19028) --- diff --git a/Modules/readline.c b/Modules/readline.c index 8a1a2a80171a..225d06b0360d 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);