*.pyx: Replace __new__ with __cinit__ like the program says.
[mLib-python] / sel-file.pyx
index 53af55e..df04938 100644 (file)
@@ -34,7 +34,7 @@ cdef class SelFile:
   cdef int _activep
   cdef readonly unsigned mode
   cdef _readyfunc
-  def __new__(me, fd, int mode = SEL_READ, readyproc = None,
+  def __cinit__(me, fd, int mode = SEL_READ, readyproc = None,
               *hunoz, **hukairz):
     if (mode != _SEL_READ and
         mode != _SEL_WRITE and