summaryrefslogtreecommitdiff
path: root/Doc/library/re.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-12-02 20:23:19 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2013-12-02 20:23:19 +0200
commit475546facf0574fa14df3a81ed6755165d8e886e (patch)
tree070e54c6f1136bae5076ee619c236d3afa8ecf41 /Doc/library/re.rst
parent0c924b83eefead8c111f66452b0681a5c7485a5c (diff)
downloadcpython-git-475546facf0574fa14df3a81ed6755165d8e886e.tar.gz
Fixed regex match representation in an example.
Diffstat (limited to 'Doc/library/re.rst')
-rw-r--r--Doc/library/re.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst
index fa6a9ce719..9dc885286b 100644
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -801,7 +801,7 @@ attributes:
>>> pattern.fullmatch("dog") # No match as "o" is not at the start of "dog".
>>> pattern.fullmatch("ogre") # No match as not the full string matches.
>>> pattern.fullmatch("doggie", 1, 3) # Matches within given limits.
- <_sre.SRE_Match object at ...>
+ <_sre.SRE_Match object; span=(1, 3), match='og'>
.. versionadded:: 3.4