https://github.com/python/cpython/commit/7a56df126664cbb50b2ca0983d996528df2c0728
commit: 7a56df126664cbb50b2ca0983d996528df2c0728
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: AA-Turner <[email protected]>
date: 2024-01-20T11:23:37Z
summary:

[3.12] gh-114332: Fix the flags reference for ``re.compile()`` (GH-114334) 
(#114339)

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 567a85e9c15a3f7848330ae7bef3de2f70fc9f97)

Co-authored-by: David H. Gutteridge <[email protected]>
Co-authored-by: Adam Turner <[email protected]>

files:
M Doc/library/re.rst

diff --git a/Doc/library/re.rst b/Doc/library/re.rst
index 07e57f1582d5e8..61aaf14adad6a6 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 ::
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to