[pypy-svn] r16705 - pypy/dist/pypy/module/_sre

nik at codespeak.net nik at codespeak.net
Fri Aug 26 23:00:47 CEST 2005


Author: nik
Date: Fri Aug 26 23:00:46 2005
New Revision: 16705

Modified:
   pypy/dist/pypy/module/_sre/interp_sre.py
Log:
fix to make the annotate happy


Modified: pypy/dist/pypy/module/_sre/interp_sre.py
==============================================================================
--- pypy/dist/pypy/module/_sre/interp_sre.py	(original)
+++ pypy/dist/pypy/module/_sre/interp_sre.py	Fri Aug 26 23:00:46 2005
@@ -310,7 +310,7 @@
             has_matched = context.has_matched
         if has_matched != context.UNDECIDED: # don't pop if context isn't done
             state.context_stack.pop()
-    return has_matched == context.MATCHED
+    return has_matched == MatchContext.MATCHED
 
 def dispatch_loop(space, context):
     """Returns MATCHED if the current context matches, NOT_MATCHED if it doesn't



More information about the Pypy-commit mailing list