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 cf5b31c commit 18eeec4Copy full SHA for 18eeec4
1 file changed
Doc/library/pathlib.rst
@@ -1287,6 +1287,10 @@ Reading directories
1287
PosixPath('setup.py'),
1288
PosixPath('test_pathlib.py')]
1289
1290
+ .. note::
1291
+ The paths are returned in no particular order.
1292
+ If you need a specific order, sort the results.
1293
+
1294
.. seealso::
1295
:ref:`pathlib-pattern-language` documentation.
1296
@@ -1321,6 +1325,10 @@ Reading directories
1321
1325
Glob the given relative *pattern* recursively. This is like calling
1322
1326
:func:`Path.glob` with "``**/``" added in front of the *pattern*.
1323
1327
1328
1329
1330
1331
1324
1332
1333
:ref:`pathlib-pattern-language` and :meth:`Path.glob` documentation.
1334
0 commit comments