]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-140490: Document changes for `PurePath.stem` in Python 3.14 (GH-144450...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 7 Feb 2026 12:25:09 +0000 (13:25 +0100)
committerGitHub <noreply@github.com>
Sat, 7 Feb 2026 12:25:09 +0000 (12:25 +0000)
gh-140490: Document changes for `PurePath.stem` in Python 3.14 (GH-144450)
(cherry picked from commit 16efaa225cbe53345b482daddee85b5ebfe3cb98)

Co-authored-by: kovan <xaum.io@gmail.com>
Doc/library/pathlib.rst

index a1004bd5d1267e52d49dbbd4fd312dab605a7a62..d770acaf5c981e54144aa2afecc6a42f5190c8cb 100644 (file)
@@ -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()