Commits

Amaury Forgeot d'Arc committed 1d5880d

Typo. Now pyrepl works with pypy!

  • Participants
  • Parent commits 30f8edd
  • Branches py3k-readline

Comments (0)

Files changed (1)

 
 try:
     # Forces import of the builtin module.  Seems necessary with PyPy.
-    _curses = imp.init_builtin('_minimal_curses2')
+    _curses = imp.init_builtin('_minimal_curses')
     if not _curses:
         raise ImportError
     setupterm = _curses.setupterm
     tparm = _curses.tparm
     error = _curses.error
 except ImportError:
+    raise
     from ._minimal_curses import setupterm, tigetstr, tparm, error