From a0786bcb748ac64a051f6c74f298b8b91852ee4f Mon Sep 17 00:00:00 2001 From: Barney Gale Date: Sat, 11 May 2024 19:10:51 +0100 Subject: [3.12] GH-118701: Note that recursive wildcards aren't supported in `PurePath.match()` (#118713) --- Doc/library/pathlib.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index 65dd509..a44c52d 100644 --- a/Doc/library/pathlib.rst +++ b/Doc/library/pathlib.rst @@ -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. -- cgit v0.12