Skip to content

Commit aebc43c

Browse files
kovanpicnixz
andauthored
Update Doc/library/pathlib.rst
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent 0f5216a commit aebc43c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Doc/library/pathlib.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -488,9 +488,7 @@ Pure paths provide the following methods and properties:
488488

489489
.. versionchanged:: 3.14
490490

491-
A single dot ("``.``") is now considered a valid suffix, which affects
492-
the value of *stem*. In previous versions, ``PurePosixPath('my/file.').stem``
493-
returned ``'file.'``; it now returns ``'file'``.
491+
A single dot ("``.``") is now considered a valid suffix.
494492

495493

496494
.. method:: PurePath.as_posix()

0 commit comments

Comments
 (0)