]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-140490: Document changes for `PurePath.stem` in Python 3.14 (#144450)
authorkovan <xaum.io@gmail.com>
Sat, 7 Feb 2026 12:19:20 +0000 (13:19 +0100)
committerGitHub <noreply@github.com>
Sat, 7 Feb 2026 12:19:20 +0000 (13:19 +0100)
Doc/library/pathlib.rst

index 0c65a61a52e32e4b6f917c5a8d31bd75bfb5b69e..4814f5f86b290779de31db540b6826b064338f4b 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()