mirror of
https://github.com/python/cpython.git
synced 2026-04-14 07:41:00 +00:00
[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:
parent
226eb88ff2
commit
470e8f27ee
1 changed files with 4 additions and 0 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue