PEP318: property as decoration

Gerrit Holl gerrit at nl.linux.org
Wed Jun 11 16:16:21 EDT 2003


Gerrit Holl wrote:
> >                 return fget, fset, fdel, fdoc
> Make that: "return fget, fset, fdel, __doc__".
> >                 return fget,     # the trailing comma is required here
> And that: "return fget, None, None, bar.__doc__"

Hmm, that doesn't seem to work. __doc__ is not in my local namespace yet.

yours,
Gerrit.

-- 
27. If a chieftain or man be caught in the misfortune of the king
(captured in battle), and if his fields and garden be given to another and
he take possession, if he return and reaches his place, his field and
garden shall be returned to him, he shall take it over again.
        -- 1780 BC, Hammurabi, Code of Law
--
Asperger Syndroom - een persoonlijke benadering:
	http://people.nl.linux.org/~gerrit/
Het zijn tijden om je zelf met politiek te bemoeien:
	http://www.sp.nl/





More information about the Python-list mailing list