From: Serhiy Storchaka Date: Mon, 2 Dec 2013 18:23:19 +0000 (+0200) Subject: Fixed regex match representation in an example. X-Git-Tag: v3.4.0b2~387^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=475546facf0574fa14df3a81ed6755165d8e886e;p=python Fixed regex match representation in an example. --- 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