mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
@@ -16,7 +16,6 @@ from typing import (
|
||||
Counter as Counter,
|
||||
DefaultDict as DefaultDict,
|
||||
Deque as Deque,
|
||||
Dict,
|
||||
ItemsView,
|
||||
KeysView,
|
||||
Mapping,
|
||||
@@ -72,10 +71,10 @@ OrderedDict = _Alias()
|
||||
|
||||
def get_type_hints(
|
||||
obj: Callable[..., Any],
|
||||
globalns: Dict[str, Any] | None = ...,
|
||||
localns: Dict[str, Any] | None = ...,
|
||||
globalns: dict[str, Any] | None = ...,
|
||||
localns: dict[str, Any] | None = ...,
|
||||
include_extras: bool = ...,
|
||||
) -> Dict[str, Any]: ...
|
||||
) -> dict[str, Any]: ...
|
||||
|
||||
if sys.version_info >= (3, 7):
|
||||
def get_args(tp: Any) -> Tuple[Any, ...]: ...
|
||||
|
||||
Reference in New Issue
Block a user