Skip to content

Commit 1974bfa

Browse files
committed
Address review requests
1 parent ec269e1 commit 1974bfa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Doc/library/pathlib.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ Reading directories
13321332
PosixPath('test_pathlib.py')]
13331333

13341334
.. note::
1335-
Akin to :mod:`glob`, the paths are returned in no particular order.
1335+
Akin to :mod:`glob`, the paths are returned with no ordering guarantees.
13361336
If you need a specific order, sort them.
13371337

13381338
.. seealso::
@@ -1366,6 +1366,10 @@ Reading directories
13661366

13671367
.. method:: Path.rglob(pattern, *, case_sensitive=None, recurse_symlinks=False)
13681368

1369+
.. note::
1370+
Akin to :mod:`glob`, the paths are returned with no ordering guarantees.
1371+
If you need a specific order, sort them.
1372+
13691373
Glob the given relative *pattern* recursively. This is like calling
13701374
:func:`Path.glob` with "``**/``" added in front of the *pattern*.
13711375

0 commit comments

Comments
 (0)