From 470e8f27ee1eef0b42096cddf75cf5bdf1ebd699 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sat, 7 Feb 2026 13:25:09 +0100 Subject: [PATCH] [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 --- Doc/library/pathlib.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index a1004bd5d12..d770acaf5c9 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()