
July 15, 2007
12:57 a.m.
Neil Toronto wrote:
Greg Ewing wrote:
intance foo(property):
Surely you meant to write "instance". :)
Oops, yes.
Seems this sort of thing would be trivial with a class decorator, something like "@instance" or "@oneinstance".
I have much the same feeling about class decorators that don't return a class. You're still writing 'class foo' yet not defining foo to be a class. -- Greg