[Cython] InlinedGeneratorExpression question

Vitja Makarov vitja.makarov at gmail.com
Tue Mar 8 11:01:04 CET 2011


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?


More information about the cython-devel mailing list