]> granicus.if.org Git - python/commitdiff
Fix curses module for strict SysV implementation (without has_key function)
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 28 Nov 2011 23:03:50 +0000 (00:03 +0100)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 28 Nov 2011 23:03:50 +0000 (00:03 +0100)
Lib/curses/__init__.py

index 303ea3e791080df3363b112e1322dc86930eb5b8..a3e9def72a27a240ad9bd7d5450261ad427c36c2 100644 (file)
@@ -54,4 +54,4 @@ def start_color():
 try:
     has_key
 except NameError:
-    from has_key import has_key
+    from .has_key import has_key