]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#4408: document regex.groups.
authorGeorg Brandl <georg@python.org>
Fri, 5 Dec 2008 07:49:49 +0000 (07:49 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 5 Dec 2008 07:49:49 +0000 (07:49 +0000)
Doc/library/re.rst

index c9466aff074528994a20d793d343cfd8a7e03db6..916fecaef579ecc95ce106600d140f9ec05f472c 100644 (file)
@@ -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