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
compound_stmts.rst -rw-r--r-- 31.4 KB
datamodel.rst -rw-r--r-- 118.9 KB
executionmodel.rst -rw-r--r-- 10.5 KB
expressions.rst -rw-r--r-- 74.7 KB
grammar.rst -rw-r--r-- 848 bytes
import.rst -rw-r--r-- 46.0 KB
index.rst -rw-r--r-- 957 bytes
introduction.rst -rw-r--r-- 6.1 KB
lexical_analysis.rst -rw-r--r-- 36.3 KB
simple_stmts.rst -rw-r--r-- 37.8 KB
toplevel_components.rst -rw-r--r-- 3.0 KB

back to top