summaryrefslogtreecommitdiffstats
path: root/Doc/library/re.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-03-14 07:07:29 (GMT)
committerGeorg Brandl <georg@python.org>2012-03-14 07:07:29 (GMT)
commit5cd27671449eaa02fe50776c0617f0b59338da83 (patch)
tree3fd1b977a7e7248995e329041eaf06d28b1fb244 /Doc/library/re.rst
parente2922835b0d499d6f6d108e89ccb424f74b54c71 (diff)
parent69c7a69cbec2a69dcfd66f60f601770b61ffda93 (diff)
downloadcpython-5cd27671449eaa02fe50776c0617f0b59338da83.zip
cpython-5cd27671449eaa02fe50776c0617f0b59338da83.tar.gz
cpython-5cd27671449eaa02fe50776c0617f0b59338da83.tar.bz2
#14283: merge with 3.2
Diffstat (limited to 'Doc/library/re.rst')
-rw-r--r--Doc/library/re.rst9
1 files changed, 4 insertions, 5 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst
index 60c2f86..c4ecd46 100644
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -947,16 +947,15 @@ support the following methods and attributes:
.. attribute:: match.pos
The value of *pos* which was passed to the :meth:`~regex.search` or
- :meth:`~regex.match` method of a :ref:`match object <match-objects>`. This
- is the index into the string at which the RE engine started looking for a
- match.
+ :meth:`~regex.match` method of a :ref:`regex object <re-objects>`. This is
+ the index into the string at which the RE engine started looking for a match.
.. attribute:: match.endpos
The value of *endpos* which was passed to the :meth:`~regex.search` or
- :meth:`~regex.match` method of a :ref:`match object <match-objects>`. This
- is the index into the string beyond which the RE engine will not go.
+ :meth:`~regex.match` method of a :ref:`regex object <re-objects>`. This is
+ the index into the string beyond which the RE engine will not go.
.. attribute:: match.lastindex