summaryrefslogtreecommitdiffstats
path: root/Lib/sre_compile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/sre_compile.py')
-rw-r--r--Lib/sre_compile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sre_compile.py b/Lib/sre_compile.py
index d3eb3c1..1d448da 100644
--- a/Lib/sre_compile.py
+++ b/Lib/sre_compile.py
@@ -167,7 +167,7 @@ def _compile(code, pattern, flags):
emit(av-1)
elif op is GROUPREF_EXISTS:
emit(OPCODES[op])
- emit((av[0]-1)*2)
+ emit(av[0]-1)
skipyes = _len(code); emit(0)
_compile(code, av[1], flags)
if av[2]: