From 1e8ce58f5d0db22714d65ff440045a7526ed394d Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Mon, 6 Aug 2007 21:07:53 +0000 Subject: remove most uses of list(somedict.keys()) in Demo scripts --- Demo/threads/Coroutine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Demo/threads') diff --git a/Demo/threads/Coroutine.py b/Demo/threads/Coroutine.py index 6bf788b0c8..4a155f89ae 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): -- cgit v1.2.1