cdef object f(object x) nogil: pass cdef void g(int x) nogil: cdef object z z = None cdef void h(int x) nogil: p() cdef object p() nogil: pass cdef void r() nogil: q() cdef void (*fp)() cdef void (*fq)() nogil cdef extern void u() cdef object m(): global fp, fq cdef object x, y, obj cdef int i, j, k global fred q() with nogil: r() q() i = 42 obj = None 17L 7j asdf `"Hello"` import fred from fred import obj for x in obj: pass obj[i] obj[i:j] obj[i:j:k] obj.fred (x, y) [x, y] {x: y} obj and x t(obj) f(42) x + obj -obj x = y = obj x, y = y, x obj[i] = x obj.fred = x print obj del fred return obj raise obj if obj: pass while obj: pass for x <= obj <= y: pass try: pass except: pass try: pass finally: pass fq = u fq = fp cdef void q(): pass cdef class C: pass cdef void t(C c) nogil: pass