[issue31969] re.groups() is not checking the arguments
Matthew Barnett
report at bugs.python.org
Wed Nov 8 12:39:30 EST 2017
Matthew Barnett <python at mrabarnett.plus.com> added the comment:
@Narendra: The argument, if provided, is merely a default. Checking whether it _could_ be used would not be straightforward, and raising an exception if it would never be used would have little, if any, benefit.
It's not a bug, and it's not worth changing.
----------
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31969>
_______________________________________
More information about the Python-bugs-list
mailing list