We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Path.glob
Path.rglob
1 parent 1b38e89 commit bfc57f7Copy full SHA for bfc57f7
1 file changed
Doc/library/pathlib.rst
@@ -1345,6 +1345,10 @@ Reading directories
1345
PosixPath('setup.py'),
1346
PosixPath('test_pathlib.py')]
1347
1348
+ .. note::
1349
+ The paths are returned in no particular order.
1350
+ If you need a specific order, sort the results.
1351
+
1352
.. seealso::
1353
:ref:`pathlib-pattern-language` documentation.
1354
@@ -1379,6 +1383,10 @@ Reading directories
1379
1383
Glob the given relative *pattern* recursively. This is like calling
1380
1384
:func:`Path.glob` with "``**/``" added in front of the *pattern*.
1381
1385
1386
1387
1388
1389
1382
1390
1391
:ref:`pathlib-pattern-language` and :meth:`Path.glob` documentation.
1392
0 commit comments