Generalized my find method to def_cython.pxi