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. "
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to