Skip to content

Instantly share code, notes, and snippets.

@PierreBdR
Created May 28, 2013 12:09
Show Gist options
  • Save PierreBdR/5662309 to your computer and use it in GitHub Desktop.
Save PierreBdR/5662309 to your computer and use it in GitHub Desktop.
python_property
@property
def ${1:name}(self):
"""
${2:doc}
"""
${3:pass}
@${1}.setter
def ${1}(self, value):
${4:pass}
@${1}.deleter
def ${1}(self):
${5:pass}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment