mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Use lowercase tuple where possible (#6170)
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, Tuple, overload
|
||||
from typing import AnyStr, overload
|
||||
|
||||
altsep: str
|
||||
if sys.version_info < (3, 7) and sys.platform == "win32":
|
||||
def splitunc(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated
|
||||
def splitunc(p: AnyStr) -> tuple[AnyStr, AnyStr]: ... # deprecated
|
||||
|
||||
# Similar to posixpath, but have slightly different argument names
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user