alternate function call syntax (was: print - parameters ?)
Ville Vainio
ville at spammers.com
Wed Oct 6 05:25:54 EDT 2004
>>>>> "Helmut" == Helmut Jarausch <jarausch at igpm.rwth-aachen.de> writes:
Helmut> Is there any chance that Python 3000 would allow an
Helmut> alternate function call in addition to the standard
Helmut> function call
Helmut> I'd suggest something along the lines of a TeX macro
Helmut> definition, e.g.
Helmut> def integrate(x,y,z) accepts function 'from' float 'to' float
Helmut> this must then be called as
Helmut> from math import sin
Helmut> ....
Helmut> integrate sin from 0.0 to 3.14
I'd venture to guess that there is no chance of that happening in
Python 3000.
"There should be one-- and preferably only one --obvious way to do it."
--
Ville Vainio http://tinyurl.com/2prnb
More information about the Python-list
mailing list