Vitja Makarov, 08.03.2011 11:01:
Hi!
Here is example code:
def foo(seq):
cdef int x
return any(x for x in seq)
Here inner x have type int, how does cdef affects nested scope?
Is that correct?
Yes, that's intended. Otherwise there'd be no way to assign types to
variables used in gene
Hi!
Here is example code:
def foo(seq):
cdef int x
return any(x for x in seq)
Here inner x have type int, how does cdef affects nested scope?
Is that correct?
--
vitja.
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.or