summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2014-11-26 21:02:33 (GMT)
committerNed Deily <nad@acm.org>2014-11-26 21:02:33 (GMT)
commit8007cbc4d52da93237c9476da473840b047a9a14 (patch)
tree32610168d117b4079a2b8f67934b39289f90c2ac /Modules
parent3663b586644e6d2af1d682f0703ba0d1a80d53d7 (diff)
downloadcpython-8007cbc4d52da93237c9476da473840b047a9a14.zip
cpython-8007cbc4d52da93237c9476da473840b047a9a14.tar.gz
cpython-8007cbc4d52da93237c9476da473840b047a9a14.tar.bz2
Issue 22940: fixes to editline support
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 7e0282c..26dfffb 100644
--- a/Modules/readline.c
+++ b/Modules/readline.c
@@ -786,8 +786,8 @@ static struct PyMethodDef readline_methods[] =
METH_VARARGS, doc_write_history_file},
#ifdef HAVE_RL_APPEND_HISTORY
{"append_history_file", append_history_file,
-#endif
METH_VARARGS, doc_append_history_file},
+#endif
{"get_history_item", get_history_item,
METH_VARARGS, doc_get_history_item},
{"get_current_history_length", (PyCFunction)get_current_history_length,