From: kovan Date: Sat, 7 Feb 2026 12:19:20 +0000 (+0100) Subject: gh-140490: Document changes for `PurePath.stem` in Python 3.14 (#144450) X-Git-Tag: v3.15.0a6~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16efaa225cbe53345b482daddee85b5ebfe3cb98;p=thirdparty%2FPython%2Fcpython.git gh-140490: Document changes for `PurePath.stem` in Python 3.14 (#144450) --- diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index 0c65a61a52e3..4814f5f86b29 100644 --- a/Doc/library/pathlib.rst +++ b/Doc/library/pathlib.rst @@ -486,6 +486,10 @@ Pure paths provide the following methods and properties: >>> PurePosixPath('my/library').stem 'library' + .. versionchanged:: 3.14 + + A single dot ("``.``") is considered a valid suffix. + .. method:: PurePath.as_posix()