Skip to content

Commit

Permalink
[3.12] GH-118701: Note that recursive wildcards aren't supported in `…
Browse files Browse the repository at this point in the history
…PurePath.match()` (#118713)
  • Loading branch information
barneygale committed May 11, 2024
1 parent af8db2b commit a0786bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Doc/library/pathlib.rst
Expand Up @@ -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.

Expand Down

0 comments on commit a0786bc

Please sign in to comment.