]> granicus.if.org Git - python/commitdiff
#21690: fix a couple of links in the docs of the re module. Noticed by Julian Gilbey.
authorEzio Melotti <ezio.melotti@gmail.com>
Thu, 19 Jun 2014 21:52:11 +0000 (00:52 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Thu, 19 Jun 2014 21:52:11 +0000 (00:52 +0300)
Doc/library/re.rst

index 7679bc243c74aced7e628f9bc34a37387319c7e5..451ee2d2a34eab9422aa8e7c555bad626debc020 100644 (file)
@@ -458,8 +458,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:`~regex.match` and
+   :func:`~regex.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