mirror of
https://github.com/python/cpython.git
synced 2025-11-20 10:57:44 +00:00
#4408: document regex.groups.
This commit is contained in:
parent
26576801a6
commit
b46f0d788c
1 changed files with 5 additions and 0 deletions
|
|
@ -750,6 +750,11 @@ attributes:
|
|||
were provided.
|
||||
|
||||
|
||||
.. attribute:: RegexObject.groups
|
||||
|
||||
The number of capturing groups in the pattern.
|
||||
|
||||
|
||||
.. attribute:: RegexObject.groupindex
|
||||
|
||||
A dictionary mapping any symbolic group names defined by ``(?P<id>)`` to group
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue