[Python-checkins] cpython (3.2): Fix curses module for strict SysV implementation (without has_key function)

victor.stinner python-checkins at python.org
Tue Nov 29 00:02:06 CET 2011


http://hg.python.org/cpython/rev/aba5cce30d71
changeset:   73780:aba5cce30d71
branch:      3.2
parent:      73778:d2e5bc1accfb
user:        Victor Stinner <victor.stinner at haypocalc.com>
date:        Tue Nov 29 00:03:50 2011 +0100
summary:
  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
@@ -54,4 +54,4 @@
 try:
     has_key
 except NameError:
-    from has_key import has_key
+    from .has_key import has_key

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


More information about the Python-checkins mailing list