[New-bugs-announce] [issue1058] Code Example for 'property' bug

Kenneth Love report at bugs.python.org
Wed Aug 29 17:43:56 CEST 2007


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 <report at bugs.python.org>
<http://bugs.python.org/issue1058>
__________________________________


More information about the New-bugs-announce mailing list