mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-27 22:31:12 +08:00
This reverts commit 3f83195558.
This commit is contained in:
@@ -255,7 +255,7 @@ class Mapping(Iterable[_KT], Container[_KT], Generic[_KT, _VT_co]):
|
||||
@overload
|
||||
def get(self, k: _KT) -> Optional[_VT_co]: ...
|
||||
@overload
|
||||
def get(self, k: _KT, default: _T) -> Union[_VT_co, _T]: ...
|
||||
def get(self, k: _KT, default: Union[_VT_co, _T]) -> Union[_VT_co, _T]: ...
|
||||
def keys(self) -> list[_KT]: ...
|
||||
def values(self) -> list[_VT_co]: ...
|
||||
def items(self) -> list[Tuple[_KT, _VT_co]]: ...
|
||||
|
||||
Reference in New Issue
Block a user