Skip to content

Commit 685d88d

Browse files
miss-islingtondhgutteridgeAA-Turner
authored
[3.11] gh-114332: Fix the flags reference for re.compile() (GH-114334) (#114340)
gh-114332: Fix the flags reference for ``re.compile()`` (GH-114334) The GH-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. (cherry picked from commit 567a85e) Co-authored-by: David H. Gutteridge <[email protected]> Co-authored-by: Adam Turner <[email protected]>
1 parent 2e6a3a6 commit 685d88d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/re.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -879,8 +879,8 @@ Functions
879879
below.
880880

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

885885
The sequence ::
886886

0 commit comments

Comments
 (0)