[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 16efaa225c)

Co-authored-by: kovan <xaum.io@gmail.com>
This commit is contained in:
Miss Islington (bot) 2026-02-07 13:25:09 +01:00 committed by GitHub
parent 226eb88ff2
commit 470e8f27ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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()