From 393dc62292c24a0205cc06a067767bc2a4b4e0cc Mon Sep 17 00:00:00 2001 From: "David H. Gutteridge" Date: Sat, 20 Jan 2024 06:17:41 -0500 Subject: [PATCH] gh-114332: Fix the flags reference for ``re.compile()`` (#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. Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> --- Doc/library/re.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 5bb93390aa5f79c..0a8c88b50cdeec5 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -880,8 +880,8 @@ Functions below. The expression's behaviour can be modified by specifying a *flags* value. - Values can be any of the following variables, combined using bitwise OR (the - ``|`` operator). + Values can be any of the `flags`_ variables, combined using bitwise OR + (the ``|`` operator). The sequence ::