Doc: recursive glob ** follows symlinks to directories (GH-12918)

This commit is contained in:
Marc 2019-09-11 10:17:05 -07:00 committed by Julien Palard
parent ac46eb4ad6
commit e24594bfe7
1 changed files with 3 additions and 2 deletions

View File

@ -49,8 +49,9 @@ For example, ``'[?]'`` matches the character ``'?'``.
single: **; in glob-style wildcards single: **; in glob-style wildcards
If *recursive* is true, the pattern "``**``" will match any files and zero or If *recursive* is true, the pattern "``**``" will match any files and zero or
more directories and subdirectories. If the pattern is followed by an more directories, subdirectories and symbolic links to directories. If the
``os.sep``, only directories and subdirectories match. 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 .. audit-event:: glob.glob pathname,recursive glob.glob