mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-30 08:04:24 +08:00
mark some positional-only arguments (#4693)
https://github.com/python/mypy/pull/9626 will make stubtest a little bit stricter about positional-only arguments for dunders like __init__ Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -6,5 +6,5 @@ _T = TypeVar("_T")
|
||||
def get_cache_token() -> object: ...
|
||||
|
||||
class ABCMeta(type):
|
||||
def __new__(cls, __name: str, __bases: Tuple[Type[Any], ...], __namespace: Dict[str, Any]) -> ABCMeta: ...
|
||||
def __new__(__mcls, __name: str, __bases: Tuple[Type[Any], ...], __namespace: Dict[str, Any]) -> ABCMeta: ...
|
||||
def register(cls, subclass: Type[_T]) -> Type[_T]: ...
|
||||
|
||||
Reference in New Issue
Block a user