Doc: recursive glob ** follows symlinks to directories (GH-12918)
(cherry picked from commit e24594bfe7
)
Co-authored-by: Marc <Marc.Herbert+github@gmail.com>
This commit is contained in:
parent
4cab7eb9e1
commit
d47993664e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue