Skip to content

Commit 393dc62

Browse files
dhgutteridgeAA-Turner
authored andcommitted
pythongh-114332: Fix the flags reference for re.compile() (python#114334)
The pythonGH-93000 change set inadvertently caused a sentence in re.compile() documentation to refer to details that no longer followed. Correct this with a link to the Flags sub-subsection. Co-authored-by: Adam Turner <[email protected]>
1 parent bd76645 commit 393dc62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/re.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -880,8 +880,8 @@ Functions
880880
below.
881881

882882
The expression's behaviour can be modified by specifying a *flags* value.
883-
Values can be any of the following variables, combined using bitwise OR (the
884-
``|`` operator).
883+
Values can be any of the `flags`_ variables, combined using bitwise OR
884+
(the ``|`` operator).
885885

886886
The sequence ::
887887

0 commit comments

Comments
 (0)