Stubtest fixes (#5249)

This commit is contained in:
hatal175
2021-04-26 07:56:54 +03:00
committed by GitHub
parent 761bd6e6b4
commit d151d1b8bb
3 changed files with 23 additions and 40 deletions

View File

@@ -7,7 +7,7 @@ _FuncT = TypeVar("_FuncT", bound=Callable[..., Any])
class ABCMeta(type):
def register(cls: ABCMeta, subclass: Type[_T]) -> Type[_T]: ...
def abstractmethod(callable: _FuncT) -> _FuncT: ...
def abstractmethod(funcobj: _FuncT) -> _FuncT: ...
class abstractproperty(property): ...