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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue1058> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com