~mdw
/
mLib-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ident.pyx, defs.pxi: Use Pyrex `typecheck' for type checking.
[mLib-python]
/
ident.pyx
diff --git
a/ident.pyx
b/ident.pyx
index
90d8f0f
..
7ea6b45
100644
(file)
--- a/
ident.pyx
+++ b/
ident.pyx
@@
-57,7
+57,7
@@
cdef class SelIdentify:
cdef sockaddr_in s_in, s_out
cdef socklen_t sz_in, sz_out
cdef int fd
- if
PyObject_TypeC
heck(sk, socket.SocketType):
+ if
typec
heck(sk, socket.SocketType):
fd = sk.fileno()
sz_in = PSIZEOF(&s_in)
sz_out = PSIZEOF(&s_out)