summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2014-06-20 00:47:11 +0300
committerEzio Melotti <ezio.melotti@gmail.com>2014-06-20 00:47:11 +0300
commit4ddca58b5404fc4ee7942dd7d994817e7c7c6858 (patch)
tree353bccf204a271c782ba3fc02a5f8d0951aabfb1
parent092bee094653576c7872574937aa21a05a6d9f81 (diff)
downloadcpython-4ddca58b5404fc4ee7942dd7d994817e7c7c6858.tar.gz
#21690: fix a couple of links in the docs of the re module. Noticed by Julian Gilbey.
-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 52909adce1..e5bbd035aa 100644
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -433,8 +433,8 @@ form.
.. function:: compile(pattern, flags=0)
Compile a regular expression pattern into a regular expression object, which
- can be used for matching using its :func:`match` and :func:`search` methods,
- described below.
+ can be used for matching using its :func:`~RegexObject.match` and
+ :func:`~RegexObject.search` methods, described 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