[Cython] InlinedGeneratorExpression question

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


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.


More information about the cython-devel mailing list