Message30211
| Author | grootea |
|---|---|
| Recipients | |
| Date | 2006-10-12.07:22:01 |
| SpamBayes Score | |
| Marked as misclassified | |
| Message-id | |
| In-reply-to |
| Content | |
|---|---|
http://docs.python.org/lib/built-in-funcs.html The property function paragraph (version 2.5) includes the following snippet class C(object): def __init__(self): self.__x = None def getx(self): return self._x def setx(self, value): self._x = value def delx(self): del self._x x = property(getx, setx, delx, "I'm the 'x' property.") On line 2, __x is initialized. Some think this should be _x. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2007-08-23 14:43:44 | admin | link | issue1575746 messages |
| 2007-08-23 14:43:44 | admin | create | |