diff options
Diffstat (limited to 'Lib/sre.py')
-rw-r--r-- | Lib/sre.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -170,6 +170,7 @@ def _subn(pattern, template, text, count=0, sub=0): else: template = _compile_repl(template, pattern) literals = template[1] + sub = 0 # temporarly disabled, see bug #449000 if (sub and not count and pattern._isliteral() and len(literals) == 1 and literals[0]): # shortcut: both pattern and string are literals |