Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 475546f

Browse files
Fixed regex match representation in an example.
1 parent 0c924b8 commit 475546f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/re.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ attributes:
801801
>>> pattern.fullmatch("dog") # No match as "o" is not at the start of "dog".
802802
>>> pattern.fullmatch("ogre") # No match as not the full string matches.
803803
>>> pattern.fullmatch("doggie", 1, 3) # Matches within given limits.
804-
<_sre.SRE_Match object at ...>
804+
<_sre.SRE_Match object; span=(1, 3), match='og'>
805805

806806
.. versionadded:: 3.4
807807

0 commit comments

Comments
 (0)