mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Add abc.update_abstractmethods (#6387)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import sys
|
||||
from _typeshed import SupportsWrite
|
||||
from typing import Any, Callable, Tuple, Type, TypeVar
|
||||
|
||||
@@ -24,3 +25,6 @@ def abstractclassmethod(callable: _FuncT) -> _FuncT: ...
|
||||
class ABC(metaclass=ABCMeta): ...
|
||||
|
||||
def get_cache_token() -> object: ...
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
def update_abstractmethods(cls: Type[_T]) -> Type[_T]: ...
|
||||
|
||||
Reference in New Issue
Block a user