Skip to content

Commit 9d1e4a5

Browse files
committed
merge 3.5
2 parents ed4aa83 + 1bb0c0b commit 9d1e4a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Modules/readline.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@ flex_complete(const char *text, int start, int end)
10801080
Py_XDECREF(readlinestate_global->endidx);
10811081
readlinestate_global->begidx = PyLong_FromLong((long) start);
10821082
readlinestate_global->endidx = PyLong_FromLong((long) end);
1083-
result = completion_matches(text, *on_completion);
1083+
result = completion_matches((char *)text, *on_completion);
10841084
#ifdef WITH_THREAD
10851085
PyGILState_Release(gilstate);
10861086
#endif

0 commit comments

Comments
 (0)