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:
Miss Islington (bot) 2019-09-11 10:28:16 -07:00 committed by GitHub
parent c112faff15
commit 9b46586124
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -48,8 +48,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.
.. note::
Using the "``**``" pattern in large directory trees may consume