[Python-ideas] Assignment decorators (Re: The Descriptor Protocol...)
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Mar 10 00:01:43 CET 2011
Terry Reedy wrote:
> but we do not really want a new keyword for every new type of object
> with a definition name. Can we do with just one?
Well, my suggestion is to re-use 'def', whose English meaning
is much more general than its current use in Python.
I don't like 'make' so much, because I'd prefer something
that sounds more declarative.
--
Greg
More information about the Python-ideas
mailing list