summaryrefslogtreecommitdiffstats
path: root/Demo/threads/Coroutine.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/threads/Coroutine.py')
-rw-r--r--Demo/threads/Coroutine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/threads/Coroutine.py b/Demo/threads/Coroutine.py
index 4cc65f7..10fa303 100644
--- a/Demo/threads/Coroutine.py
+++ b/Demo/threads/Coroutine.py
@@ -115,7 +115,7 @@ class Coroutine:
if not self.killed:
try:
try:
- apply(me.f, args)
+ me.f(*args)
except Killed:
pass
finally: