]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39968: Fix a typo error in get_readline_state() (GH-19028)
authorHai Shi <shihai1992@gmail.com>
Mon, 16 Mar 2020 17:16:32 +0000 (01:16 +0800)
committerGitHub <noreply@github.com>
Mon, 16 Mar 2020 17:16:32 +0000 (18:16 +0100)
Modules/readline.c

index 8a1a2a80171a1d381369696c9cf9700769380f1a..225d06b0360d3bc2c07d30e774e88bbc1eebb495 100644 (file)
@@ -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);