X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib-python/blobdiff_plain/d8d81d1b049836f7d4fae7b0077a8ce9e2fc43ac..a1ce1458d254a60b64add7f1ca44bd638c872097:/conn.pyx diff --git a/conn.pyx b/conn.pyx index 04b9ffa..7313303 100644 --- a/conn.pyx +++ b/conn.pyx @@ -31,7 +31,7 @@ cdef class SelConnect: cdef readonly object socket cdef _connected cdef _error - def __new__(me, sk, connectedproc = None, errorproc = None, + def __cinit__(me, sk, connectedproc = None, errorproc = None, *hunoz, **hukairz): conn_fd(&me.c, &_sel, sk.fileno(), _connfunc, me) me._activep = 1