Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2116158

Browse files
authored
Remove old type-ignore explanation comments not removed in #8280 (#11513)
1 parent 185ef48 commit 2116158

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

stdlib/builtins.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ class object:
9898
__annotations__: dict[str, Any]
9999
@property
100100
def __class__(self) -> type[Self]: ...
101-
# Ignore errors about type mismatch between property getter and setter
102101
@__class__.setter
103102
def __class__(self, __type: type[object]) -> None: ... # noqa: F811
104103
def __init__(self) -> None: ...

stdlib/weakref.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ class WeakValueDictionary(MutableMapping[_KT, _VT]):
9393

9494
class KeyedRef(ref[_T], Generic[_KT, _T]):
9595
key: _KT
96-
# This __new__ method uses a non-standard name for the "cls" parameter
9796
def __new__(type, ob: _T, callback: Callable[[_T], Any], key: _KT) -> Self: ...
9897
def __init__(self, ob: _T, callback: Callable[[_T], Any], key: _KT) -> None: ...
9998

0 commit comments

Comments
 (0)