diff options
author | Marc <Marc.Herbert+github@gmail.com> | 2019-09-11 17:17:05 (GMT) |
---|---|---|
committer | Julien Palard <julien@palard.fr> | 2019-09-11 17:17:05 (GMT) |
commit | e24594bfe75aff3e654665cb940ddc4d4acffd2f (patch) | |
tree | 1ebf53839bd79867bce9dc34e47c0e15757b26c4 /Doc | |
parent | ac46eb4ad6662cf6d771b20d8963658b2186c48c (diff) | |
download | cpython-e24594bfe75aff3e654665cb940ddc4d4acffd2f.zip cpython-e24594bfe75aff3e654665cb940ddc4d4acffd2f.tar.gz cpython-e24594bfe75aff3e654665cb940ddc4d4acffd2f.tar.bz2 |
Doc: recursive glob ** follows symlinks to directories (GH-12918)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/glob.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/glob.rst b/Doc/library/glob.rst index 9658443..92a8c4d 100644 --- a/Doc/library/glob.rst +++ b/Doc/library/glob.rst @@ -49,8 +49,9 @@ For example, ``'[?]'`` matches the character ``'?'``. single: **; in glob-style wildcards If *recursive* is true, the pattern "``**``" will match any files and zero or - more directories and subdirectories. If the pattern is followed by an - ``os.sep``, only directories and subdirectories match. + more directories, subdirectories and symbolic links to directories. If the + pattern is followed by an :data:`os.sep` or :data:`os.altsep` then files will not + match. .. audit-event:: glob.glob pathname,recursive glob.glob |