[issue1058] Code Example for 'property' bug

2007-08-29 Thread Kenneth Love
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

[issue1058] Code Example for 'property' bug

2007-08-29 Thread Georg Brandl
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'.