summaryrefslogtreecommitdiffstats
path: root/Demo/threads
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/threads')
-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 6bf788b..4a155f8 100644
--- a/Demo/threads/Coroutine.py
+++ b/Demo/threads/Coroutine.py
@@ -127,7 +127,7 @@ class Coroutine:
if self.killed:
raise TypeError('kill() called on dead coroutines')
self.killed = 1
- for coroutine in list(self.invokedby.keys()):
+ for coroutine in self.invokedby.keys():
coroutine.resume()
def back(self, data=None):