[pypy-commit] pypy virtual-arguments: another one
fijal
noreply at buildbot.pypy.org
Wed Jul 18 17:48:45 CEST 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: virtual-arguments
Changeset: r56177:feef0a4d2de0
Date: 2012-07-18 17:48 +0200
http://bitbucket.org/pypy/pypy/changeset/feef0a4d2de0/
Log: another one
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
@@ -61,7 +61,7 @@
# Returns a list of RPython-level integers.
# Unlike the app-level groups() method, groups are numbered from 0
# and the returned list does not start with the whole match range.
- if num_groups == 0:
+ if num_groups <= 0:
return None
result = [-1] * (2*num_groups)
mark = ctx.match_marks
More information about the pypy-commit
mailing list