Skip to content

Commit 6182c5d

Browse files
committed
gh-148765: Fix description of include_hidden parameter in glob docs
1 parent a8c9aa9 commit 6182c5d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/library/glob.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ The :mod:`!glob` module defines the following functions:
7070
pattern is followed by an :data:`os.sep` or :data:`os.altsep` then files will not
7171
match.
7272

73-
If *include_hidden* is true, "``**``" pattern will match hidden directories.
73+
If *include_hidden* is true, patterns that do not begin with a dot (``.``)
74+
may also match path components that begin with a dot.
7475

7576
.. audit-event:: glob.glob pathname,recursive glob.glob
7677
.. audit-event:: glob.glob/2 pathname,recursive,root_dir,dir_fd glob.glob

0 commit comments

Comments
 (0)