Skip to content

Instantly share code, notes, and snippets.

@cesarkawakami
Created December 27, 2012 05:20
Show Gist options
  • Save cesarkawakami/4385679 to your computer and use it in GitHub Desktop.
Save cesarkawakami/4385679 to your computer and use it in GitHub Desktop.
class F(object):
def __init__(self):
self._x = None
@property
def x(self):
return self._x
@x.setter
def x(self, value):
self._x = value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment