Commits

Armin Rigo  committed e23a1f3

Fix

  • Participants
  • Parent commits 7b0cafe

Comments (0)

Files changed (1)

File rpython/rlib/rsre/rsre_re.py

 class Scanner:
     # This class is copied directly from re.py.
     def __init__(self, lexicon, flags=0):
-        from sre_constants import BRANCH, SUBPATTERN
-        import sre_parse
+        from rpython.rlib.rsre.rpy.sre_constants import BRANCH, SUBPATTERN
+        from rpython.rlib.rsre.rpy import sre_parse
         self.lexicon = lexicon
         # combine phrases into a compound pattern
         p = []