fork download
  1. def foo():
  2. doc = "The foo property."
  3. def fget(self):
  4. return self._foo
  5. def fset(self, value):
  6. self._foo = value
  7. def fdel(self):
  8. del self._foo
  9. return locals()
  10. foo = property(**foo())
  11. foo="test"
  12. print foo
Success #stdin #stdout 0.08s 10864KB
stdin
Standard input is empty
stdout
test