*.pyx: Replace __new__ with __cinit__ like the program says.
[mLib-python] / sym.pyx
diff --git a/sym.pyx b/sym.pyx
index 8de6938..946162b 100644 (file)
--- a/sym.pyx
+++ b/sym.pyx
@@ -73,7 +73,7 @@ cdef class SymTable (Mapping):
 cdef class _SymIter (_MapIterator):
   cdef SymTable t
   cdef sym_iter i
-  def __new__(me, SymTable t):
+  def __cinit__(me, SymTable t):
     me.t = t
     sym_mkiter(&me.i, &me.t._t)
   cdef void *_next(me):