]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] GH-118701: Note that recursive wildcards aren't supported in `PurePath.match...
authorBarney Gale <barney.gale@gmail.com>
Sat, 11 May 2024 18:10:51 +0000 (19:10 +0100)
committerGitHub <noreply@github.com>
Sat, 11 May 2024 18:10:51 +0000 (19:10 +0100)
Doc/library/pathlib.rst

index 65dd509fa100d8cd0a8842d1848381e0a1b4d01e..a44c52db5663d4f5a5a350cb2dd3108a93113e39 100644 (file)
@@ -582,6 +582,10 @@ Pure paths provide the following methods and properties:
       >>> PurePath('a/b.py').match(pattern)
       True
 
+   .. note::
+      The recursive wildcard "``**``" isn't supported by this method (it acts
+      like non-recursive "``*``".)
+
    .. versionchanged:: 3.12
       Accepts an object implementing the :class:`os.PathLike` interface.