]> granicus.if.org Git - python/commitdiff
Fixed regex match representation in an example.
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 2 Dec 2013 18:23:19 +0000 (20:23 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 2 Dec 2013 18:23:19 +0000 (20:23 +0200)
Doc/library/re.rst

index fa6a9ce71968fe2fccf02e04a5639e7267430497..9dc885286bbeb9015296b6e4d0e203167750eb49 100644 (file)
@@ -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