mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Use lowercase tuple where possible (#6170)
This commit is contained in:
@@ -32,7 +32,7 @@ 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 | None
|
||||
|
||||
@@ -64,6 +64,6 @@ def join(s: StrPath, *paths: StrPath) -> str: ...
|
||||
@overload
|
||||
def join(s: BytesPath, *paths: BytesPath) -> bytes: ...
|
||||
@overload
|
||||
def split(s: PathLike[AnyStr]) -> Tuple[AnyStr, AnyStr]: ...
|
||||
def split(s: PathLike[AnyStr]) -> tuple[AnyStr, AnyStr]: ...
|
||||
@overload
|
||||
def split(s: AnyStr) -> Tuple[AnyStr, AnyStr]: ...
|
||||
def split(s: AnyStr) -> tuple[AnyStr, AnyStr]: ...
|
||||
|
||||
Reference in New Issue
Block a user