> There's something odd about writing
>
> def property foo:
> ...
>
> Both of
>
> defprop foo:
> ...
>
> or
>
> define property foo:
> ...
>
> seem more natural.
>
> def foo [property]:
> ...
>
> anyone? Probably relying on the difference between [ and ( kills it.
Yes.
How about
foo = property:
...
--Guido van Rossum (home page: http://www.python.org/~guido/)