mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Class 'property' inherits from 'object' for PY2
This commit is contained in:
committed by
Łukasz Langa
parent
7212f23f7b
commit
39d89ef233
@@ -663,7 +663,7 @@ class module:
|
||||
__file__ = ... # type: str
|
||||
__dict__ = ... # type: Dict[unicode, Any]
|
||||
|
||||
class property:
|
||||
class property(object):
|
||||
def __init__(self, fget: Callable[[Any], Any] = None,
|
||||
fset: Callable[[Any, Any], None] = None,
|
||||
fdel: Callable[[Any], None] = None, doc: str = None) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user