Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 642d4b6

Browse files
committed
#21690: fix a couple of links in the docs of the re module. Noticed by Julian Gilbey.
1 parent d143209 commit 642d4b6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/re.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,8 +458,8 @@ form.
458458
.. function:: compile(pattern, flags=0)
459459

460460
Compile a regular expression pattern into a regular expression object, which
461-
can be used for matching using its :func:`match` and :func:`search` methods,
462-
described below.
461+
can be used for matching using its :func:`~regex.match` and
462+
:func:`~regex.search` methods, described below.
463463

464464
The expression's behaviour can be modified by specifying a *flags* value.
465465
Values can be any of the following variables, combined using bitwise OR (the

0 commit comments

Comments
 (0)