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 @@ -1287,6 +1287,10 @@ Reading directories
12871287 PosixPath('setup.py'),
12881288 PosixPath('test_pathlib.py')]
12891289
1290+ .. note ::
1291+ The paths are returned in no particular order.
1292+ If you need a specific order, sort the results.
1293+
12901294 .. seealso ::
12911295 :ref: `pathlib-pattern-language ` documentation.
12921296
@@ -1321,6 +1325,10 @@ Reading directories
13211325 Glob the given relative *pattern * recursively. This is like calling
13221326 :func: `Path.glob ` with "``**/ ``" added in front of the *pattern *.
13231327
1328+ .. note ::
1329+ The paths are returned in no particular order.
1330+ If you need a specific order, sort the results.
1331+
13241332 .. seealso ::
13251333 :ref: `pathlib-pattern-language ` and :meth: `Path.glob ` documentation.
13261334
You can’t perform that action at this time.
0 commit comments