summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-23 09:12:05 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-23 09:12:05 (GMT)
commitee8337a99d55d42eec558cb862ce08ec37d5b9c6 (patch)
treee050b1d538ff14e084fcbc0ca730f2a62c099119 /Python
parentcb33a01bbc933415efba1c5930ebd9237545f48a (diff)
parent662cef66d7e90ec3c391a5b5ab933c159ef009b6 (diff)
downloadcpython-ee8337a99d55d42eec558cb862ce08ec37d5b9c6.zip
cpython-ee8337a99d55d42eec558cb862ce08ec37d5b9c6.tar.gz
cpython-ee8337a99d55d42eec558cb862ce08ec37d5b9c6.tar.bz2
Issue #25953: re.sub() now raises an error for invalid numerical group
reference in replacement template even if the pattern is not found in the string. Error message for invalid group reference now includes the group index and the position of the reference. Based on patch by SilentGhost.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions