From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 7 Feb 2026 12:25:09 +0000 (+0100) Subject: [3.14] gh-140490: Document changes for `PurePath.stem` in Python 3.14 (GH-144450... X-Git-Tag: v3.14.4~320 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=470e8f27ee1eef0b42096cddf75cf5bdf1ebd699;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-140490: Document changes for `PurePath.stem` in Python 3.14 (GH-144450) (#144564) gh-140490: Document changes for `PurePath.stem` in Python 3.14 (GH-144450) (cherry picked from commit 16efaa225cbe53345b482daddee85b5ebfe3cb98) Co-authored-by: kovan --- diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index a1004bd5d126..d770acaf5c98 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()