os.path etc: update for py313 (#11965)

This commit is contained in:
Shantanu authored and GitHub committed 2024-05-18 17:57:44 -04:00
1 parent 2756f16a11
commit 87edeb65d8
3 files changed
+20 -1

No files matched your search

+5
View File
@@ -14,6 +14,9 @@ from genericpath import (
sameopenfile as sameopenfile,
samestat as samestat,
)
if sys.version_info >= (3, 13):
from genericpath import isdevdrive as isdevdrive
from os import PathLike
from typing import AnyStr, overload
from typing_extensions import LiteralString
@@ -60,6 +63,8 @@ __all__ = [
]
if sys.version_info >= (3, 12):
__all__ += ["isjunction", "splitroot"]
if sys.version_info >= (3, 13):
__all__ += ["isdevdrive"]
supports_unicode_filenames: bool
# aliases (also in os)