summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-28 20:41:51 (GMT)
committerGeorg Brandl <georg@python.org>2014-10-28 20:41:51 (GMT)
commitae4ca79574bac3a51a6fb05dbbe9a0d1612d8b61 (patch)
tree05e2cff394b4887d3b9ad64143ed6f39b96f7f24
parentcae81d0c3835c4b262f8b741b790dab1c4a2ee68 (diff)
downloadcpython-ae4ca79574bac3a51a6fb05dbbe9a0d1612d8b61.zip
cpython-ae4ca79574bac3a51a6fb05dbbe9a0d1612d8b61.tar.gz
cpython-ae4ca79574bac3a51a6fb05dbbe9a0d1612d8b61.tar.bz2
Closes #22736: move seealso to the bottom of the section about RE syntax.
-rw-r--r--Doc/library/re.rst15
1 files changed, 8 insertions, 7 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst
index 2910d36..182b054 100644
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -33,13 +33,6 @@ module-level functions and :class:`RegexObject` methods. The functions are
shortcuts that don't require you to compile a regex object first, but miss some
fine-tuning parameters.
-.. seealso::
-
- Mastering Regular Expressions
- Book on regular expressions by Jeffrey Friedl, published by O'Reilly. The
- second edition of the book no longer covers Python at all, but the first
- edition covered writing good regular expression patterns in great detail.
-
.. _re-syntax:
@@ -418,6 +411,14 @@ there are three octal digits, it is considered an octal escape. Otherwise, it is
a group reference. As for string literals, octal escapes are always at most
three digits in length.
+.. seealso::
+
+ Mastering Regular Expressions
+ Book on regular expressions by Jeffrey Friedl, published by O'Reilly. The
+ second edition of the book no longer covers Python at all, but the first
+ edition covered writing good regular expression patterns in great detail.
+
+
.. _contents-of-module-re: