mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Add abstractproperty.__new__ so it can be used.
This commit is contained in:
@@ -30,6 +30,7 @@ class _C:
|
||||
|
||||
# TODO: The real abc.abstractproperty inherits from "property".
|
||||
class abstractproperty(object):
|
||||
def __new__(cls, func): ...
|
||||
__doc__ = ... # type: str
|
||||
__isabstractmethod__ = ... # type: bool
|
||||
doc = ... # type: Any
|
||||
|
||||
Reference in New Issue
Block a user