Skip to content

Commit 16efaa2

Browse files
authored
gh-140490: Document changes for PurePath.stem in Python 3.14 (#144450)
1 parent f4364a5 commit 16efaa2

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)