diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index 004c156e118..d4329e7a4c6 100644 --- a/Doc/library/pathlib.rst +++ b/Doc/library/pathlib.rst @@ -528,8 +528,10 @@ Pure paths provide the following methods and properties: >>> PurePath('a/b.py').match('/*.py') False - As with other methods, case-sensitivity is observed:: + As with other methods, case-sensitivity follows platform defaults:: + >>> PurePosixPath('b.py').match('*.PY') + False >>> PureWindowsPath('b.py').match('*.PY') True