From 6182c5d2b3a990b2470ade376940fa7f437ecaf9 Mon Sep 17 00:00:00 2001 From: Eoin Shaughnessy Date: Sun, 19 Apr 2026 20:32:28 +0100 Subject: [PATCH] gh-148765: Fix description of include_hidden parameter in glob docs --- Doc/library/glob.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/glob.rst b/Doc/library/glob.rst index 942f23d216fc07..aa068209e949c1 100644 --- a/Doc/library/glob.rst +++ b/Doc/library/glob.rst @@ -70,7 +70,8 @@ The :mod:`!glob` module defines the following functions: pattern is followed by an :data:`os.sep` or :data:`os.altsep` then files will not match. - If *include_hidden* is true, "``**``" pattern will match hidden directories. + If *include_hidden* is true, patterns that do not begin with a dot (``.``) + may also match path components that begin with a dot. .. audit-event:: glob.glob pathname,recursive glob.glob .. audit-event:: glob.glob/2 pathname,recursive,root_dir,dir_fd glob.glob