diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index 9257d2d222c..fe049de040a 100644 --- a/Doc/library/pathlib.rst +++ b/Doc/library/pathlib.rst @@ -943,7 +943,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"))