Issue1575746
Created on 2006-10-12 07:22 by grootea, last changed 2022-04-11 14:56 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg30211 - (view) | Author: Antoine De Groote (grootea) | Date: 2006-10-12 07:22 | |
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. |
|||
| msg30212 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2006-10-12 07:38 | |
Logged In: YES user_id=849994 Thanks for the report, fixed in rev. 52293, 52294 (2.5). |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:56:20 | admin | set | github: 44115 |
| 2006-10-12 07:22:01 | grootea | create | |
