]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Added support for negative indexes to PurePath.parents (GH-21799)
authorYaroslav Pankovych <31005942+ypankovych@users.noreply.github.com>
Mon, 23 Nov 2020 20:06:22 +0000 (22:06 +0200)
committerGitHub <noreply@github.com>
Mon, 23 Nov 2020 20:06:22 +0000 (15:06 -0500)
commit79d2e62c008446fbbc6f264bb8a30e2d38b6ff58
tree19897f3bf2d3abafff8fbcda7c51bcbb446265b6
parentffae93248a33cd6fe73d1ea85d6802765bbf56d2
Added support for negative indexes to PurePath.parents (GH-21799)

This commit also fixes up some of the overlapping documentation changed
in bpo-35498, which added support for indexing with slices.

Fixes bpo-21041.
https://bugs.python.org/issue21041

Co-authored-by: Paul Ganssle <p.ganssle@gmail.com>
Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
Doc/library/pathlib.rst
Doc/whatsnew/3.10.rst
Lib/pathlib.py
Lib/test/test_pathlib.py
Misc/ACKS
Misc/NEWS.d/next/Library/2018-12-14-13-29-17.bpo-35498.LEJHl7.rst
Misc/NEWS.d/next/Library/2020-08-10-15-06-55.bpo-21041.cYz1eL.rst [new file with mode: 0644]