diff options
author | Barney Gale <barney.gale@gmail.com> | 2023-03-05 22:46:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-05 22:46:45 (GMT) |
commit | 3e60e0213e9d884a2f4cef4df96956c5d4adde0a (patch) | |
tree | 8a5bb774128ec2d8add4fec68caacd9385b2414b /Python/errors.c | |
parent | 3572c861d8e8f03c34793608e7e2221e116aaec0 (diff) | |
download | cpython-3e60e0213e9d884a2f4cef4df96956c5d4adde0a.zip cpython-3e60e0213e9d884a2f4cef4df96956c5d4adde0a.tar.gz cpython-3e60e0213e9d884a2f4cef4df96956c5d4adde0a.tar.bz2 |
GH-101362: Check pathlib.Path flavour compatibility at import time (GH-101664)
This saves a comparison in `pathlib.Path.__new__()` and reduces the time taken to run `Path()` by ~5%.
Automerge-Triggered-By: GH:AlexWaygood
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions