Author: &#321;ukasz Langa <luk...@langa.pl>
Branch: py3.6
Changeset: r95797:2c9cbd1a5331
Date: 2019-02-04 17:02 +0100
http://bitbucket.org/pypy/pypy/changeset/2c9cbd1a5331/

Log:    Merge default

diff --git a/pypy/module/_sre/interp_sre.py b/pypy/module/_sre/interp_sre.py
--- a/pypy/module/_sre/interp_sre.py
+++ b/pypy/module/_sre/interp_sre.py
@@ -650,7 +650,7 @@
             assert idx >= 0
             return fmarks[idx], fmarks[idx+1]
         else:
-            raise oefmt(space.w_IndexError, "group index out of range")
+            raise oefmt(space.w_IndexError, "no such group")
 
     def _last_index(self):
         mark = self.ctx.match_marks
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to