Skip to content

Commit a0786bc

Browse files
authored
[3.12] GH-118701: Note that recursive wildcards aren't supported in PurePath.match() (#118713)
1 parent af8db2b commit a0786bc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/library/pathlib.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,10 @@ Pure paths provide the following methods and properties:
582582
>>> PurePath('a/b.py').match(pattern)
583583
True
584584

585+
.. note::
586+
The recursive wildcard "``**``" isn't supported by this method (it acts
587+
like non-recursive "``*``".)
588+
585589
.. versionchanged:: 3.12
586590
Accepts an object implementing the :class:`os.PathLike` interface.
587591

0 commit comments

Comments
 (0)