Skip to content

Commit 38a3bf3

Browse files
authored
Move note in Path.rglob to the right place
1 parent fa24bfb commit 38a3bf3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/pathlib.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,13 +1366,13 @@ Reading directories
13661366

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

1369+
Glob the given relative *pattern* recursively. This is like calling
1370+
:func:`Path.glob` with "``**/``" added in front of the *pattern*.
1371+
13691372
.. note::
13701373
The paths are returned in no particular order.
13711374
If you need a specific order, sort the results.
13721375

1373-
Glob the given relative *pattern* recursively. This is like calling
1374-
:func:`Path.glob` with "``**/``" added in front of the *pattern*.
1375-
13761376
.. seealso::
13771377
:ref:`pathlib-pattern-language` and :meth:`Path.glob` documentation.
13781378

0 commit comments

Comments
 (0)