https://github.com/python/cpython/commit/470e8f27ee1eef0b42096cddf75cf5bdf1ebd699 commit: 470e8f27ee1eef0b42096cddf75cf5bdf1ebd699 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: picnixz <[email protected]> date: 2026-02-07T12:25:09Z summary:
[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 <[email protected]> files: M Doc/library/pathlib.rst diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index a1004bd5d1267e..d770acaf5c981e 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]
