diff options
author | R David Murray <rdmurray@bitdance.com> | 2015-05-02 19:08:50 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2015-05-02 19:08:50 (GMT) |
commit | 3b85377ab5832e8d82686a526a93d1ca013569cd (patch) | |
tree | 6abb044ca2d8eb3ca91975f1c1a034b7281f9bca | |
parent | deed215313d94db67015d7e76f9c8f829f6aa440 (diff) | |
parent | 4590c3d944230aff3d1e6810d3113e790922359c (diff) | |
download | cpython-3b85377ab5832e8d82686a526a93d1ca013569cd.zip cpython-3b85377ab5832e8d82686a526a93d1ca013569cd.tar.gz cpython-3b85377ab5832e8d82686a526a93d1ca013569cd.tar.bz2 |
Merge: #24108: Update fnmatch.translate example to show correct output.
-rw-r--r-- | Doc/library/fnmatch.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/fnmatch.rst b/Doc/library/fnmatch.rst index ef93f05..68b437f 100644 --- a/Doc/library/fnmatch.rst +++ b/Doc/library/fnmatch.rst @@ -83,7 +83,7 @@ patterns. >>> >>> regex = fnmatch.translate('*.txt') >>> regex - '.*\\.txt$' + '.*\\.txt\\Z(?ms)' >>> reobj = re.compile(regex) >>> reobj.match('foobar.txt') <_sre.SRE_Match object; span=(0, 10), match='foobar.txt'> |