diff options
author | Barney Gale <barney.gale@gmail.com> | 2024-01-26 18:14:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 18:14:24 +0000 |
commit | 7e31d6dea276ac91402aefb023c58d239dfd9246 (patch) | |
tree | 3a32adf17e7fa06baa399363f57a079d4f631f24 /Lib/test/test_pathlib/test_pathlib_abc.py | |
parent | 6c2b419fb91c8d7daa769d39f73768114b5eb45a (diff) | |
download | cpython-7e31d6dea276ac91402aefb023c58d239dfd9246.tar.gz cpython-7e31d6dea276ac91402aefb023c58d239dfd9246.zip |
gh-88569: add `ntpath.isreserved()` (#95486)
Add `ntpath.isreserved()`, which identifies reserved pathnames such as "NUL", "AUX" and "CON".
Deprecate `pathlib.PurePath.is_reserved()`.
---------
Co-authored-by: Eryk Sun <eryksun@gmail.com>
Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
Diffstat (limited to 'Lib/test/test_pathlib/test_pathlib_abc.py')
0 files changed, 0 insertions, 0 deletions