aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-11-23 20:27:27 +0200
committerEzio Melotti <ezio.melotti@gmail.com>2013-11-23 20:27:27 +0200
commit7571941db6591c7521311274f0ea3c83657eb911 (patch)
treebfbddf4abe687d23a2ddba97fd65ec5acd13e0cd /Doc/library/fnmatch.rst
parentFix whitespace (diff)
downloadcpython-7571941db6591c7521311274f0ea3c83657eb911.tar.gz
cpython-7571941db6591c7521311274f0ea3c83657eb911.tar.bz2
cpython-7571941db6591c7521311274f0ea3c83657eb911.zip
#19639: update the repr of the match objects in the docs. Patch by Claudiu Popa.
Diffstat (limited to 'Doc/library/fnmatch.rst')
-rw-r--r--Doc/library/fnmatch.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/fnmatch.rst b/Doc/library/fnmatch.rst
index e0434b0c190..ef93f05a7a5 100644
--- a/Doc/library/fnmatch.rst
+++ b/Doc/library/fnmatch.rst
@@ -86,7 +86,7 @@ patterns.
'.*\\.txt$'
>>> reobj = re.compile(regex)
>>> reobj.match('foobar.txt')
- <_sre.SRE_Match object at 0x...>
+ <_sre.SRE_Match object; span=(0, 10), match='foobar.txt'>
.. seealso::