diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index 384611c791d..a6ad1568833 100644 --- a/Doc/library/pathlib.rst +++ b/Doc/library/pathlib.rst @@ -934,7 +934,7 @@ call fails (for example because the path doesn't exist): .. method:: Path.rglob(pattern) - This is like calling :meth:`glob` with "``**``" added in front of the + This is like calling :meth:`Path.glob` with "``**``" added in front of the given *pattern*: >>> sorted(Path().rglob("*.py"))