*.pyx: Replace __new__ with __cinit__ like the program says.
[mLib-python] / assoc.pyx
index 535fa03..e2ba4ee 100644 (file)
--- a/assoc.pyx
+++ b/assoc.pyx
@@ -75,7 +75,7 @@ cdef class AssocTable (Mapping):
 cdef class _AssocIter (_MapIterator):
   cdef AssocTable t
   cdef assoc_iter i
-  def __new__(me, AssocTable t):
+  def __cinit__(me, AssocTable t):
     me.t = t
     assoc_mkiter(&me.i, &me.t._t)
   cdef void *_next(me):