https://github.com/python/cpython/commit/16efaa225cbe53345b482daddee85b5ebfe3cb98
commit: 16efaa225cbe53345b482daddee85b5ebfe3cb98
branch: main
author: kovan <[email protected]>
committer: picnixz <[email protected]>
date: 2026-02-07T13:19:20+01:00
summary:
gh-140490: Document changes for `PurePath.stem` in Python 3.14 (#144450)
files:
M Doc/library/pathlib.rst
diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst
index 0c65a61a52e32e..4814f5f86b2907 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()
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]