This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients KennethLove, georg.brandl
Date 2007-08-29.16:36:32
SpamBayes Score 0.2906809
Marked as misclassified No
Message-id <46D5A086.9010309@gmx.net>
In-reply-to <1188402236.38.0.727151700445.issue1058@psf.upfronthosting.co.za>
Content
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!
History
Date User Action Args
2007-08-29 16:36:33georg.brandlsetspambayes_score: 0.290681 -> 0.2906809
recipients: + georg.brandl, KennethLove
2007-08-29 16:36:32georg.brandllinkissue1058 messages
2007-08-29 16:36:32georg.brandlcreate