Three Minor Feature Requests for 2.2
Greg Ewing
see at my.signature
Wed May 9 01:23:56 EDT 2001
Paul Prescod wrote:
>
> Raymond Hettinger wrote:
> >
> > class C(): # should work as well as class C:
>
> I've wanted this for years but the argument in favor is so weak that I
> don't think Guido would go for it. "I'm too lazy to remove the useless
> parens."
Well, the fact that empty parens are *required* for
parameterless function calls, but *forbidden* for
baseless classes, is one more niggly little detail
to remember than necessary.
--
Greg Ewing, Computer Science Dept, University of Canterbury,
Christchurch, New Zealand
To get my email address, please visit my web page:
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list