[Python-checkins] cpython (2.7): Issue #22463: Correct #endif placement; patch by Senthil Kumaran

martin.panter python-checkins at python.org
Tue Jun 21 22:09:23 EDT 2016


https://hg.python.org/cpython/rev/b1c1c297bead
changeset:   102119:b1c1c297bead
branch:      2.7
user:        Martin Panter <vadmium+py at gmail.com>
date:        Wed Jun 22 02:04:38 2016 +0000
summary:
  Issue #22463: Correct #endif placement; patch by Senthil Kumaran

files:
  Modules/readline.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/readline.c b/Modules/readline.c
--- a/Modules/readline.c
+++ b/Modules/readline.c
@@ -818,6 +818,7 @@
 #endif
 }
 
+#endif
 
 #ifdef HAVE_RL_RESIZE_TERMINAL
 static volatile sig_atomic_t sigwinch_received;
@@ -876,7 +877,6 @@
     }
     return result;
 }
-#endif
 
 
 /* A more flexible constructor that saves the "begidx" and "endidx"

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list