Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea34a84 commit e8d52afCopy full SHA for e8d52af
1 file changed
Lib/sre.py
@@ -90,7 +90,7 @@ def _expand(match, template):
90
def _subn(pattern, template, string, count=0):
91
# internal: pattern.subn implementation hook
92
if callable(template):
93
- filter = callable
+ filter = template
94
else:
95
# FIXME: prepare template
96
def filter(match, template=template):
0 commit comments