File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,10 @@ The :mod:`glob` module defines the following functions:
7575 Using the "``** ``" pattern in large directory trees may consume
7676 an inordinate amount of time.
7777
78+ .. note ::
79+ This function may return duplicate path names if *pathname *
80+ contains multiple "``** ``" patterns and *recursive * is true.
81+
7882 .. versionchanged :: 3.5
7983 Support for recursive globs using "``** ``".
8084
@@ -94,6 +98,10 @@ The :mod:`glob` module defines the following functions:
9498 .. audit-event :: glob.glob pathname,recursive glob.iglob
9599 .. audit-event :: glob.glob/2 pathname,recursive,root_dir,dir_fd glob.iglob
96100
101+ .. note ::
102+ This function may return duplicate path names if *pathname *
103+ contains multiple "``** ``" patterns and *recursive * is true.
104+
97105 .. versionchanged :: 3.5
98106 Support for recursive globs using "``** ``".
99107
You can’t perform that action at this time.
0 commit comments