Python3k extended grammar
esj at harvee.billerica.ma.us
esj at harvee.billerica.ma.us
Fri May 19 20:11:40 EDT 2000
"Robert" <rhicks at rma.edu> writes:
> uggh...keep "return"...out with "->"...nuff said!
>
> As a newbie..."return" makes it much easier read and understand
hmmm. am I the only one that read -> as yields?
> > def func( x: Integer, y: Integer ) -> Integer:
I see this definition as reading:
Given two integers (x,y), func yields integer
man, I gotta stop reading Dykstra before bedtime...
--- eric
More information about the Python-list
mailing list