mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Remove unnecessary pyright: ignore (#9000)
This commit is contained in:
@@ -16,10 +16,7 @@ class ABCMeta(type):
|
||||
__mcls: type[Self], __name: str, __bases: tuple[type, ...], __namespace: dict[str, Any], **kwargs: Any
|
||||
) -> Self: ...
|
||||
else:
|
||||
# pyright doesn't like the first parameter being called mcls, hence the `pyright: ignore`
|
||||
def __new__(
|
||||
mcls: type[Self], name: str, bases: tuple[type, ...], namespace: dict[str, Any], **kwargs: Any # pyright: ignore
|
||||
) -> Self: ...
|
||||
def __new__(mcls: type[Self], name: str, bases: tuple[type, ...], namespace: dict[str, Any], **kwargs: Any) -> Self: ...
|
||||
|
||||
def __instancecheck__(cls: ABCMeta, instance: Any) -> Any: ...
|
||||
def __subclasscheck__(cls: ABCMeta, subclass: Any) -> Any: ...
|
||||
|
||||
Reference in New Issue
Block a user