mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Use lowercase tuple where possible (#6170)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import Any, Tuple, Type, overload
|
||||
from typing import Any, Type, overload
|
||||
|
||||
_defaultaction: str
|
||||
_onceregistry: dict[Any, Any]
|
||||
@@ -15,7 +15,7 @@ def warn_explicit(
|
||||
filename: str,
|
||||
lineno: int,
|
||||
module: str | None = ...,
|
||||
registry: dict[str | Tuple[str, Type[Warning], int], int] | None = ...,
|
||||
registry: dict[str | tuple[str, Type[Warning], int], int] | None = ...,
|
||||
module_globals: dict[str, Any] | None = ...,
|
||||
source: Any | None = ...,
|
||||
) -> None: ...
|
||||
@@ -26,7 +26,7 @@ def warn_explicit(
|
||||
filename: str,
|
||||
lineno: int,
|
||||
module: str | None = ...,
|
||||
registry: dict[str | Tuple[str, Type[Warning], int], int] | None = ...,
|
||||
registry: dict[str | tuple[str, Type[Warning], int], int] | None = ...,
|
||||
module_globals: dict[str, Any] | None = ...,
|
||||
source: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user