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?). 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. ---------- components: Documentation messages: 55423 nosy: KennethLove severity: minor status: open title: Code Example for 'property' bug type: compile error versions: Python 2.5 __________________________________ 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