[Python-checkins] cpython (2.7): #21690: fix a couple of links in the docs of the re module. Noticed by Julian

ezio.melotti python-checkins at python.org
Thu Jun 19 23:55:39 CEST 2014


http://hg.python.org/cpython/rev/88a1f3cf4ed9
changeset: 91279:88a1f3cf4ed9
branch: 2.7
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Fri Jun 20 00:47:11 2014 +0300
summary:
 #21690: fix a couple of links in the docs of the re module. Noticed by Julian Gilbey.
files:
 Doc/library/re.rst | 4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/re.rst b/Doc/library/re.rst
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -433,8 +433,8 @@
 .. 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
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /