X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib-python/blobdiff_plain/704500e11c6a7e240acc047607d34bc6db520f15..1db32dec968f0985a597c6d810fd4cd6a9bfaad8:/assoc.pyx diff --git a/assoc.pyx b/assoc.pyx index 38b8446..7685dd6 100644 --- a/assoc.pyx +++ b/assoc.pyx @@ -73,7 +73,7 @@ cdef class AssocTable (Mapping): cdef class _AssocIter (_MapIterator): cdef AssocTable t cdef assoc_iter i - def __cinit__(me, AssocTable t): + def __cinit__(me, AssocTable t not None): me.t = t assoc_mkiter(&me.i, &me.t._t) cdef void *_next(me):