@@ -29,7 +29,7 @@ not by actually invoking a subshell.
2929 The pathnames are returned in no particular order. If you need a specific
3030 order, sort the results.
3131
32- Files beginning with a dot (``. ``) can only be matched by
32+ By default, files beginning with a dot (``. ``) can only be matched by
3333patterns that also start with a dot,
3434unlike :func: `fnmatch.fnmatch ` or :func: `pathlib.Path.glob `.
3535For tilde and shell variable expansion, use :func: `os.path.expanduser ` and
@@ -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, wildcards can match path segments that
74+ 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
@@ -131,7 +132,7 @@ The :mod:`!glob` module defines the following functions:
131132 Escape all special characters (``'?' ``, ``'*' `` and ``'[' ``).
132133 This is useful if you want to match an arbitrary literal string that may
133134 have special characters in it. Special characters in drive/UNC
134- sharepoints are not escaped, e.g. on Windows
135+ sharepoints are not escaped, for example on Windows
135136 ``escape('//?/c:/Quo vadis?.txt') `` returns ``'//?/c:/Quo vadis[?].txt' ``.
136137
137138 .. versionadded :: 3.4
0 commit comments