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 KennethLove
Recipients KennethLove
Date 2007-08-29.15:43:55
SpamBayes Score 0.5682442
Marked as misclassified No
Message-id <1188402236.38.0.727151700445.issue1058@psf.upfronthosting.co.za>
In-reply-to
Content
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?).

NOTE: I was unsure what "Type" of issue this was based on the provided
list.  I chose "compile error" because it seemed to be the best fit.
History
Date User Action Args
2007-08-29 15:43:56KennethLovesetspambayes_score: 0.568244 -> 0.5682442
recipients: + KennethLove
2007-08-29 15:43:56KennethLovesetspambayes_score: 0.568244 -> 0.568244
messageid: <1188402236.38.0.727151700445.issue1058@psf.upfronthosting.co.za>
2007-08-29 15:43:56KennethLovelinkissue1058 messages
2007-08-29 15:43:55KennethLovecreate