[Python-3000] parameter lists [was: Type Expressions]
Guido van Rossum
guido at python.org
Fri Apr 21 20:42:31 CEST 2006
[Ron Adam]
> def f(a, b, c=?, d=x):
Another problem with this is that it uses punctuation in a manner
that's neither similar to how it is used in written English (or Dutch,
or any other Latin language) nor resembling of other areas in Python.
I know this is a very strict constraint, and sometimes we violate it
(@decorators come to mind) but still, as a general guideline, if it
can be avoided, using punctuation in new and strange ways just isn't
Pythonic. That also applies to using ';' but not (at least not so
strongly) to '*' (since that can easily be seen as "*args without the
args").
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-3000
mailing list