Made parameters of collections.abc members positional only (#15305)

This commit is contained in:
Randolf Scholz
2026-02-22 20:23:45 +01:00
committed by GitHub
parent b43fc8f6f3
commit 24827c4590
3 changed files with 79 additions and 61 deletions
+2 -2
View File
@@ -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]: ...