diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/re.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -300,8 +300,8 @@ class Scanner: p.append(sre_parse.SubPattern(s, [ (SUBPATTERN, (len(p)+1, sre_parse.parse(phrase, flags))), ])) + s.groups = len(p)+1 p = sre_parse.SubPattern(s, [(BRANCH, (None, p))]) - s.groups = len(p) self.scanner = sre_compile.compile(p) def scan(self, string): result = [] |