mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
os.path etc: update for py313 (#11965)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user