Created
March 21, 2020 04:31
-
-
Save ychennay/874fa0abd488cf388a1117385c960bf7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class property(object): | |
def __init__(self, fget: Optional[Callable[[Any], Any]] = ..., | |
fset: Optional[Callable[[Any, Any], None]] = ..., | |
fdel: Optional[Callable[[Any], None]] = ..., | |
doc: Optional[str] = ...) -> None: ... | |
def getter(self, fget: Callable[[Any], Any]) -> property: ... | |
def setter(self, fset: Callable[[Any, Any], None]) -> property: ... | |
def deleter(self, fdel: Callable[[Any], None]) -> property: ... | |
def __get__(self, obj: Any, type: Optional[type] = ...) -> Any: ... | |
def __set__(self, obj: Any, value: Any) -> None: ... | |
def __delete__(self, obj: Any) -> None: ... | |
def fget(self) -> Any: ... | |
def fset(self, value: Any) -> None: ... | |
def fdel(self) -> None: ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment