aboutsummaryrefslogtreecommitdiffstats
path: root/src/join.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-07 17:57:48 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-07 17:57:48 +0100
commit717d6261c2d3d65b9108ef2bc978e8c9c35219a4 (patch)
tree5d2510a8de0d9f329fb6251e614f0cdac958ba76 /src/join.py
parentupdate readme (diff)
downloadjoin-python-717d6261c2d3d65b9108ef2bc978e8c9c35219a4.tar.gz
join-python-717d6261c2d3d65b9108ef2bc978e8c9c35219a4.tar.bz2
join-python-717d6261c2d3d65b9108ef2bc978e8c9c35219a4.tar.xz
signal => puresignal, fsignal => signal
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/join.py')
-rw-r--r--src/join.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/join.py b/src/join.py
index a79d32c..355c27b 100644
--- a/src/join.py
+++ b/src/join.py
@@ -21,7 +21,7 @@ import random
import threading
-class signal:
+class puresignal:
'''
Function decorator for signals, functions that run asynchronously
'''
@@ -104,9 +104,9 @@ class fragment:
-class fsignal(fragment):
+class signal(fragment):
'''
- Shorthand for @fragment @signal
+ Shorthand for @fragment @puresignal
'''
def __init__(self, f):
'''
@@ -114,7 +114,7 @@ class fsignal(fragment):
@param f:(...)→¿R? The decorated function
'''
- fragment.__init__(self, signal(f))
+ fragment.__init__(self, puresignal(f))