Remove old type-ignore explanation comments not removed in #8280 (#11513)

This commit is contained in:
Avasam
2024-03-01 10:10:10 -05:00
committed by GitHub
parent 185ef486ae
commit 2116158891
2 changed files with 0 additions and 2 deletions

View File

@@ -98,7 +98,6 @@ class object:
__annotations__: dict[str, Any]
@property
def __class__(self) -> type[Self]: ...
# Ignore errors about type mismatch between property getter and setter
@__class__.setter
def __class__(self, __type: type[object]) -> None: ... # noqa: F811
def __init__(self) -> None: ...

View File

@@ -93,7 +93,6 @@ class WeakValueDictionary(MutableMapping[_KT, _VT]):
class KeyedRef(ref[_T], Generic[_KT, _T]):
key: _KT
# This __new__ method uses a non-standard name for the "cls" parameter
def __new__(type, ob: _T, callback: Callable[[_T], Any], key: _KT) -> Self: ...
def __init__(self, ob: _T, callback: Callable[[_T], Any], key: _KT) -> None: ...