[issue27177] re match.group should support __index__

Matthew Barnett report at bugs.python.org
Thu Jun 2 10:00:55 EDT 2016


Matthew Barnett added the comment:

It would be a bug if it was supported but gave the wrong result.

It has never been supported (the re module predates PEP 357), so it's a new feature.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27177>
_______________________________________


More information about the Python-bugs-list mailing list