Skip to content

Commit e24594b

Browse files
marc-h38JulienPalard
authored andcommitted
Doc: recursive glob ** follows symlinks to directories (GH-12918)
1 parent ac46eb4 commit e24594b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/glob.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ For example, ``'[?]'`` matches the character ``'?'``.
4949
single: **; in glob-style wildcards
5050
5151
If *recursive* is true, the pattern "``**``" will match any files and zero or
52-
more directories and subdirectories. If the pattern is followed by an
53-
``os.sep``, only directories and subdirectories match.
52+
more directories, subdirectories and symbolic links to directories. If the
53+
pattern is followed by an :data:`os.sep` or :data:`os.altsep` then files will not
54+
match.
5455

5556
.. audit-event:: glob.glob pathname,recursive glob.glob
5657

0 commit comments

Comments
 (0)