chiark
/
gitweb
/
~mdw
/
mLib-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Announce 1.0.2.
[mLib-python]
/
sel-file.pyx
diff --git
a/sel-file.pyx
b/sel-file.pyx
index 53af55e479c1dc0fe84ad14a405271fef6f3fbc0..df0493823b132c3044bc32d44a7be0667fb6a92b 100644
(file)
--- a/
sel-file.pyx
+++ b/
sel-file.pyx
@@
-34,7
+34,7
@@
cdef class SelFile:
cdef int _activep
cdef readonly unsigned mode
cdef _readyfunc
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
*hunoz, **hukairz):
if (mode != _SEL_READ and
mode != _SEL_WRITE and