chiark
/
gitweb
/
~mdw
/
mLib-python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3655f95
)
sig: Store the user function in the correct attribute!
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 21 Sep 2008 14:59:33 +0000
(15:59 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 21 Sep 2008 15:19:11 +0000
(16:19 +0100)
sig.pyx
patch
|
blob
|
blame
|
history
diff --git
a/sig.pyx
b/sig.pyx
index 6496016e53fe357fafec92f001529fbc9069cac6..e10913c264a06dc4a1f39f768a8946845545571b 100644
(file)
--- a/
sig.pyx
+++ b/
sig.pyx
@@
-36,7
+36,7
@@
cdef class SelSignal:
if sig < 0 or sig >= signal.NSIG:
raise ValueError, 'signal number out of range'
me.signal = sig
- me._signalled
proc
= _checkcallable(signalledproc, 'signalled proc')
+ me._signalled = _checkcallable(signalledproc, 'signalled proc')
me._activep = 0
def __dealloc__(me):
if me._activep: