[Python-checkins] cpython (merge 3.2 -> default): (Merge 3.2) Fix curses module for strict SysV implementation (without has_key

victor.stinner python-checkins at python.org
Tue Nov 29 00:03:43 CET 2011


http://hg.python.org/cpython/rev/bff927c8b410
changeset:   73781:bff927c8b410
parent:      73779:1330beac9ec9
parent:      73780:aba5cce30d71
user:        Victor Stinner <victor.stinner at haypocalc.com>
date:        Tue Nov 29 00:06:10 2011 +0100
summary:
  (Merge 3.2) Fix curses module for strict SysV implementation (without has_key function)

files:
  Lib/curses/__init__.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/curses/__init__.py b/Lib/curses/__init__.py
--- a/Lib/curses/__init__.py
+++ b/Lib/curses/__init__.py
@@ -53,7 +53,7 @@
 try:
     has_key
 except NameError:
-    from has_key import has_key
+    from .has_key import has_key
 
 # Wrapper for the entire curses-based application.  Runs a function which
 # should be the rest of your curses-based application.  If the application

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


More information about the Python-checkins mailing list