Last active
March 17, 2024 19:21
-
-
Save MeexReay/6313b762f131ee53eba909ec742e3f55 to your computer and use it in GitHub Desktop.
Python Property Template
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
def vhat(): | |
doc = "The vhat property." | |
def fget(self): | |
return self._vhat | |
def fset(self, value): | |
self._vhat = value | |
def fdel(self): | |
del self._vhat | |
return locals() | |
vhat = property(**vhat()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment