Skip to content

Commit 470e8f2

Browse files
[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 16efaa2) Co-authored-by: kovan <xaum.io@gmail.com>
1 parent 226eb88 commit 470e8f2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/library/pathlib.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,10 @@ Pure paths provide the following methods and properties:
486486
>>> PurePosixPath('my/library').stem
487487
'library'
488488

489+
.. versionchanged:: 3.14
490+
491+
A single dot ("``.``") is considered a valid suffix.
492+
489493

490494
.. method:: PurePath.as_posix()
491495

0 commit comments

Comments
 (0)