[Python-Dev] Property syntax (Re: [Python-Dev] Extended Function syntax)
Greg Ewing
greg@cosc.canterbury.ac.nz
Mon, 03 Feb 2003 11:37:44 +1300 (NZDT)
> What would you think of 'is' then?
>
> def name(...) is classmethod:
Doesn't read nearly as well to my ears. "Define foo as property"
is a grammatical and meaningful English sentence, whereas
"Define foo is property" isn't.
Simply "foo is property" would be better, but unfortunately
it already has a meaning.
Hmmm... maybe
whereas foo is property:
...
:-?
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg@cosc.canterbury.ac.nz +--------------------------------------+