X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib-python/blobdiff_plain/8fdfc3953c7444ffa4e65a13cc83a16418369678..4091abf10ce3940b80c3e8b2a5e59b02e6cadb9f:/sel-file.pyx diff --git a/sel-file.pyx b/sel-file.pyx index 9135d4a..df04938 100644 --- a/sel-file.pyx +++ b/sel-file.pyx @@ -15,12 +15,12 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. -# +# # mLib/Python is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with mLib/Python; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -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