mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add abc.ABCMeta.register method (#176)
This commit is contained in:
committed by
Guido van Rossum
parent
2b80cdf75e
commit
dfd4365b45
@@ -1,6 +1,8 @@
|
||||
from typing import Any
|
||||
# Stubs for abc.
|
||||
|
||||
# Thesee definitions have special processing in type checker.
|
||||
class ABCMeta: ...
|
||||
class ABCMeta:
|
||||
def register(cls: "ABCMeta", subclass: Any) -> None: ...
|
||||
abstractmethod = object()
|
||||
abstractproperty = object()
|
||||
|
||||
Reference in New Issue
Block a user