Author: Matti Picus <[email protected]>
Branch: unicode-utf8
Changeset: r95500:fba36a06ee6e
Date: 2018-12-15 23:13 +0200
http://bitbucket.org/pypy/pypy/changeset/fba36a06ee6e/

Log:    fix translation

diff --git a/rpython/rlib/rsre/rsre_core.py b/rpython/rlib/rsre/rsre_core.py
--- a/rpython/rlib/rsre/rsre_core.py
+++ b/rpython/rlib/rsre/rsre_core.py
@@ -460,6 +460,7 @@
         ptr = self.start_ptr
         if not self.next_char_ok(ctx, pattern, ptr, self.ppos3):
             return
+        assert not isinstance(ctx, AbstractMatchContext)
         self.start_ptr = ctx.next(ptr)
         return self.find_first_result(ctx, pattern)
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to