mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-10 18:36:31 +08:00
Made parameters of collections.abc members positional only (#15305)
This commit is contained in:
+2
-2
@@ -22,8 +22,8 @@ class ABCMeta(type):
|
||||
mcls: type[_typeshed.Self], name: str, bases: tuple[type, ...], namespace: dict[str, Any], **kwargs: Any
|
||||
) -> _typeshed.Self: ...
|
||||
|
||||
def __instancecheck__(cls: ABCMeta, instance: Any) -> bool: ...
|
||||
def __subclasscheck__(cls: ABCMeta, subclass: type) -> bool: ...
|
||||
def __instancecheck__(cls: ABCMeta, instance: Any, /) -> bool: ...
|
||||
def __subclasscheck__(cls: ABCMeta, subclass: type, /) -> bool: ...
|
||||
def _dump_registry(cls: ABCMeta, file: SupportsWrite[str] | None = None) -> None: ...
|
||||
def register(cls: ABCMeta, subclass: type[_T]) -> type[_T]: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user