Dag Sverre Seljebotn wrote: > I always had the impression that: > > a) def foo(MyType arg): ... > > means that the foo function itself checks the type on entry. > > b) cdef foo(MyType arg): ... > > means that foo does not check the type, but the caller does! (Except, of > course, if the caller already know the type, which is a useful > optimization.) > > Is this understanding (of current behaviour) true or false?
Both correct, and that's exactly how it must work. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
