Files
typeshed/stdlib/3/abc.pyi
2016-10-17 09:19:10 -07:00

14 lines
329 B
Python

from typing import Any
import sys
# Stubs for abc.
# Thesee definitions have special processing in type checker.
class ABCMeta(type):
def register(cls: "ABCMeta", subclass: Any) -> None: ...
abstractmethod = object()
abstractproperty = object()
if sys.version_info >= (3, 4):
class ABC(metaclass=ABCMeta):
pass