summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHai Shi <shihai1992@gmail.com>2020-03-16 17:16:32 (GMT)
committerGitHub <noreply@github.com>2020-03-16 17:16:32 (GMT)
commit5f104d56fa10f88098338b3f1ea74bcbe6924ca9 (patch)
tree3ccdf0811b5b1a4d9970bbf8c664cee0f7997cfe
parentf6a58507820c67e8d0fb07875cd1b1d9f5e510a8 (diff)
downloadcpython-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.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);