[docs] documentation bug
Sandro Tosi
sandro.tosi at gmail.com
Sat Jan 28 19:44:22 CET 2012
Hello Andreas,
thanks for your email.
On Thu, Jan 26, 2012 at 15:28, Andreas Balogh <andreas.balogh at db.com> wrote:
> @property
> def x(self):
> """I'm the 'x' property."""
> return self._x
...
> should read correctly
...
> @x.getter
> def x(self):
> """I'm the 'x' property."""
> return self._x
I'm not exactly sure that the example is incorrect, the writer might
have wanted to recall the property decorator of the example above
instead of using the getter decorator.
Regards,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
More information about the docs
mailing list