mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-26 05:41:11 +08:00
Make ABCMeta inherit from type in py3 (#613)
This commit is contained in:
committed by
Guido van Rossum
parent
8d1026cade
commit
8865baf840
@@ -3,7 +3,7 @@ import sys
|
||||
# Stubs for abc.
|
||||
|
||||
# Thesee definitions have special processing in type checker.
|
||||
class ABCMeta:
|
||||
class ABCMeta(type):
|
||||
def register(cls: "ABCMeta", subclass: Any) -> None: ...
|
||||
abstractmethod = object()
|
||||
abstractproperty = object()
|
||||
|
||||
Reference in New Issue
Block a user