Staging
v0.5.1
https://github.com/python/cpython
Revision 452058448335b39c784af9a047f9c4a1767c0b00 authored by Joshua Cannon on 20 November 2020, 15:40:39 UTC, committed by GitHub on 20 November 2020, 15:40:39 UTC
Added slice support to the `pathlib.Path.parents` sequence. For a `Path` `p`, slices of `p.parents` should return the same thing as slices of `tuple(p.parents)`.
1 parent d20b7ed
History
Tip revision: 452058448335b39c784af9a047f9c4a1767c0b00 authored by Joshua Cannon on 20 November 2020, 15:40:39 UTC
bpo-35498: Added slice support to PathLib parents attribute. (GH-11165)
Tip revision: 4520584
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.9 KB
.gitignore -rw-r--r-- 1.8 KB
.travis.yml -rw-r--r-- 8.4 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 13.6 KB
Makefile.pre.in -rw-r--r-- 67.9 KB
README.rst -rw-r--r-- 10.0 KB
aclocal.m4 -rw-r--r-- 12.8 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 502.3 KB
configure.ac -rw-r--r-- 169.7 KB
install-sh -rwxr-xr-x 15.0 KB
netlify.toml -rw-r--r-- 82 bytes
pyconfig.h.in -rw-r--r-- 44.9 KB
setup.py -rw-r--r-- 108.5 KB

README.rst

back to top