summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-23 09:11:19 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-23 09:11:19 (GMT)
commit662cef66d7e90ec3c391a5b5ab933c159ef009b6 (patch)
tree11da5a500cbd51d091cc5ffb25b5d892ce3c4053 /Python
parent265dce6cbbe700183228632f16bc1d4a2683c935 (diff)
downloadcpython-662cef66d7e90ec3c391a5b5ab933c159ef009b6.zip
cpython-662cef66d7e90ec3c391a5b5ab933c159ef009b6.tar.gz
cpython-662cef66d7e90ec3c391a5b5ab933c159ef009b6.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