debian/control: Add Build-Depends for `dh-python'.
[mLib-python] / assoc.pyx
index 38b8446..7685dd6 100644 (file)
--- 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):