[issue1058] Code Example for 'property' bug

Georg Brandl report at bugs.python.org
Wed Aug 29 18:36:32 CEST 2007


Georg Brandl added the comment:

Kenneth Love schrieb:
> New submission from Kenneth Love:
> 
> The code example for 'property' in the online documentation appears to
> have several syntax errors.
> 
> In the class C, the functions getx, setx, and delx all refer to '_x',
> but __init__ assigns '__x'.  In other words, single underscores were
> used where double underscores were intended (or vice versa?).

This is already fixed in SVN and will be in the next released docs version.
Thanks for reporting!

----------
nosy: +georg.brandl
resolution:  -> fixed
status: open -> closed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1058>
__________________________________


More information about the Python-bugs-list mailing list