*.pyx: Replace __new__ with __cinit__ like the program says.
[mLib-python] / atom.pyx
index 5c0cde6..9892ba5 100644 (file)
--- a/atom.pyx
+++ b/atom.pyx
@@ -27,7 +27,7 @@
 
 cdef class AtomIter:
   cdef atom_iter _i
-  def __new__(me):
+  def __cinit__(me):
     atom_mkiter(&me._i, ATOM_GLOBAL)
   def __next__(me):
     cdef atom *a