summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/re.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst
index cd0d204..d64604f 100644
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -766,8 +766,8 @@ Regular Expression Objects
.. attribute:: RegexObject.flags
- The flags argument used when the RE object was compiled, or ``0`` if no flags
- were provided.
+ The regex matching flags. This is a combination of the flags given to
+ :func:`.compile` and any ``(?...)`` inline flags in the pattern.
.. attribute:: RegexObject.groups