diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-03-16 17:16:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-16 17:16:32 (GMT) |
commit | 5f104d56fa10f88098338b3f1ea74bcbe6924ca9 (patch) | |
tree | 3ccdf0811b5b1a4d9970bbf8c664cee0f7997cfe | |
parent | f6a58507820c67e8d0fb07875cd1b1d9f5e510a8 (diff) | |
download | cpython-5f104d56fa10f88098338b3f1ea74bcbe6924ca9.zip cpython-5f104d56fa10f88098338b3f1ea74bcbe6924ca9.tar.gz cpython-5f104d56fa10f88098338b3f1ea74bcbe6924ca9.tar.bz2 |
bpo-39968: Fix a typo error in get_readline_state() (GH-19028)
-rw-r--r-- | Modules/readline.c | 2 |
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); |