summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-06 01:26:26 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-09-06 01:26:26 (GMT)
commit9d1e4a54f792a8a15b27847d7c0518ab9e9cead0 (patch)
tree9107da8996cd91a2117adbc773218671c71cbbd2 /Modules
parented4aa83ff77ff11059f64dab711adf35ce9d0e0f (diff)
parent1bb0c0bd30f6f140f747f8c9814a08a0d626c044 (diff)
downloadcpython-9d1e4a54f792a8a15b27847d7c0518ab9e9cead0.zip
cpython-9d1e4a54f792a8a15b27847d7c0518ab9e9cead0.tar.gz
cpython-9d1e4a54f792a8a15b27847d7c0518ab9e9cead0.tar.bz2
merge 3.5
Diffstat (limited to 'Modules')
-rw-r--r--Modules/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/readline.c b/Modules/readline.c
index 0d483d7..3b94d4a 100644
--- a/Modules/readline.c
+++ b/Modules/readline.c
@@ -1080,7 +1080,7 @@ done:
Py_XDECREF(readlinestate_global->endidx);
readlinestate_global->begidx = PyLong_FromLong((long) start);
readlinestate_global->endidx = PyLong_FromLong((long) end);
- result = completion_matches(text, *on_completion);
+ result = completion_matches((char *)text, *on_completion);
#ifdef WITH_THREAD
PyGILState_Release(gilstate);
#endif