[Cython] [Fwd: Re: Beginner-friendly tickets]
Prajwal Suhas P
psp.reachable at gmail.com
Sun Mar 22 17:04:40 CET 2009
Here, i tested the 3 cases
<1> for i in range(0, somefunc( ) , 1): <2> for i in range(0, 10, somefunc(
)):
<3> for i in range(somefunc( ), 10, 1):
all work perfectly fine. So from this, i feel step need not be assigned to
temp.
cdef int g():
print "g called"
return 3
cdef f():
cdef int i
for i in range(0, 10, g()): ----------> statement
print i
print i
--
Regards,
Prajwal S.
"There is little difference in people,but this little difference makes a big
difference.The little difference is attitude,the big difference is whether
its positive or negative. "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/cython-dev/attachments/20090322/f6389c68/attachment.htm
More information about the Cython-dev
mailing list