Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3bff4e commit ed8720aCopy full SHA for ed8720a
1 file changed
Doc/library/pathlib.rst
@@ -595,6 +595,9 @@ Pure paths provide the following methods and properties:
595
>>> PurePath('a/b.py').match(pattern)
596
True
597
598
+ .. versionchanged:: 3.12
599
+ Accepts an object implementing the :class:`os.PathLike` interface.
600
+
601
As with other methods, case-sensitivity follows platform defaults::
602
603
>>> PurePosixPath('b.py').match('*.PY')
0 commit comments