bpo-39968: Fix a typo error in get_readline_state() (GH-19028)

This commit is contained in:
Hai Shi 2020-03-17 01:16:32 +08:00 committed by GitHub
parent f6a5850782
commit 5f104d56fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ typedef struct {
} readlinestate; } readlinestate;
static inline readlinestate* static inline readlinestate*
get_readline_state(PyModule *module) get_readline_state(PyObject *module)
{ {
void *state = PyModule_GetState(module); void *state = PyModule_GetState(module);
assert(state != NULL); assert(state != NULL);