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 '__
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 unders