diff options
author | Barney Gale <barney.gale@gmail.com> | 2023-04-09 17:40:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-09 17:40:03 (GMT) |
commit | 2c673d5e93cfe2779f27c4e742d7e50f7a94f356 (patch) | |
tree | 7b5aa0de6865ad59854a78765f31edb3bda6875f /Programs/python.c | |
parent | 0a675f4bb57d01a5e69f8f58ae934ad7ca501a8d (diff) | |
download | cpython-2c673d5e93cfe2779f27c4e742d7e50f7a94f356.zip cpython-2c673d5e93cfe2779f27c4e742d7e50f7a94f356.tar.gz cpython-2c673d5e93cfe2779f27c4e742d7e50f7a94f356.tar.bz2 |
GH-101362: Omit path anchor from `pathlib.PurePath()._parts` (GH-102476)
Improve performance of path construction by skipping the addition of the path anchor (`drive + root`) to the internal `_parts` list. Rename this attribute to `_tail` for clarity.
Diffstat (limited to 'Programs/python.c')
0 files changed, 0 insertions, 0 deletions