We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Path.glob
Path.rglob
1 parent fa31f9b commit 2c6d5cbCopy full SHA for 2c6d5cb
1 file changed
Doc/library/pathlib.rst
@@ -1331,6 +1331,10 @@ Reading directories
1331
PosixPath('setup.py'),
1332
PosixPath('test_pathlib.py')]
1333
1334
+ .. note::
1335
+ The paths are returned in no particular order.
1336
+ If you need a specific order, sort the results.
1337
+
1338
.. seealso::
1339
:ref:`pathlib-pattern-language` documentation.
1340
@@ -1365,6 +1369,10 @@ Reading directories
1365
1369
Glob the given relative *pattern* recursively. This is like calling
1366
1370
:func:`Path.glob` with "``**/``" added in front of the *pattern*.
1367
1371
1372
1373
1374
1375
1368
1376
1377
:ref:`pathlib-pattern-language` and :meth:`Path.glob` documentation.
1378
0 commit comments