stdlib: remove unused type: ignore comments (#11061)

This commit is contained in:
Alex Waygood
2023-11-23 13:00:07 +00:00
committed by GitHub
parent c2c8d7cf5d
commit 10febc4fe0
19 changed files with 76 additions and 72 deletions

View File

@@ -87,9 +87,9 @@ class UserDict(MutableMapping[_KT, _VT]):
def __or__(self, other: UserDict[_KT, _VT] | dict[_KT, _VT]) -> Self: ...
@overload
def __or__(self, other: UserDict[_T1, _T2] | dict[_T1, _T2]) -> UserDict[_KT | _T1, _VT | _T2]: ...
@overload # type: ignore[misc]
@overload
def __ror__(self, other: UserDict[_KT, _VT] | dict[_KT, _VT]) -> Self: ...
@overload # type: ignore[misc]
@overload
def __ror__(self, other: UserDict[_T1, _T2] | dict[_T1, _T2]) -> UserDict[_KT | _T1, _VT | _T2]: ...
# UserDict.__ior__ should be kept roughly in line with MutableMapping.update()
@overload # type: ignore[misc]