summaryrefslogtreecommitdiffstats
path: root/Modules/readline.c
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-10-05 00:11:36 (GMT)
committerJesus Cea <jcea@jcea.es>2012-10-05 00:11:36 (GMT)
commit14c81aba509904959a86f14ccd180f714e6b753d (patch)
tree62c6d922cd4ae226c2e076b5d3ab81c7c5d24cb5 /Modules/readline.c
parentab70e2ab3264c444ac70a1c98e869b0de0b22c4a (diff)
downloadcpython-14c81aba509904959a86f14ccd180f714e6b753d.zip
cpython-14c81aba509904959a86f14ccd180f714e6b753d.tar.gz
cpython-14c81aba509904959a86f14ccd180f714e6b753d.tar.bz2
#16135: Removal of OS/2 support (Modules/*)
Diffstat (limited to 'Modules/readline.c')
-rw-r--r--Modules/readline.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/readline.c b/Modules/readline.c
index a710652..0d99dc9 100644
--- a/Modules/readline.c
+++ b/Modules/readline.c
@@ -901,10 +901,6 @@ setup_readline(void)
using_history();
rl_readline_name = "python";
-#if defined(PYOS_OS2) && defined(PYCC_GCC)
- /* Allow $if term= in .inputrc to work */
- rl_terminal_name = getenv("TERM");
-#endif
/* Force rebind of TAB to insert-tab */
rl_bind_key('\t', rl_insert);
/* Bind both ESC-TAB and ESC-ESC to the completion function */