Skip to content

Commit d5c645a

Browse files
committed
Restore # type: ignore[misc] on reversed.__new__
1 parent 274f2a8 commit d5c645a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stdlib/builtins.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2059,7 +2059,7 @@ class _SupportsReversed(Protocol[_T_co]):
20592059
@disjoint_base
20602060
class reversed(Generic[_T_co]):
20612061
@overload
2062-
def __new__(cls, sequence: _SupportsReversed[_T], /) -> _T: ...
2062+
def __new__(cls, sequence: _SupportsReversed[_T], /) -> _T: ... # type: ignore[misc]
20632063
@overload
20642064
def __new__(cls, sequence: SupportsLenAndGetItem[_T_co], /) -> Self: ...
20652065
def __iter__(self) -> Self: ...

0 commit comments

Comments
 (0)