mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Update typing_extensions imports in stdlib (#11244)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
This commit is contained in:
@@ -42,11 +42,11 @@ from posixpath import (
|
||||
splitext as splitext,
|
||||
supports_unicode_filenames as supports_unicode_filenames,
|
||||
)
|
||||
from typing import AnyStr, overload
|
||||
from typing_extensions import LiteralString
|
||||
|
||||
if sys.version_info >= (3, 12):
|
||||
from posixpath import isjunction as isjunction, splitroot as splitroot
|
||||
from typing import AnyStr, overload
|
||||
from typing_extensions import LiteralString
|
||||
|
||||
__all__ = [
|
||||
"normcase",
|
||||
|
||||
Reference in New Issue
Block a user