summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-23 12:12:05 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-23 12:12:05 +0300
commitee8337a99d55d42eec558cb862ce08ec37d5b9c6 (patch)
treee050b1d538ff14e084fcbc0ca730f2a62c099119 /Python/errors.c
parentcb33a01bbc933415efba1c5930ebd9237545f48a (diff)
parent662cef66d7e90ec3c391a5b5ab933c159ef009b6 (diff)
downloadcpython-git-ee8337a99d55d42eec558cb862ce08ec37d5b9c6.tar.gz
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/errors.c')
0 files changed, 0 insertions, 0 deletions