mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
remove most uses of list(somedict.keys()) in Demo scripts
This commit is contained in:
parent
28a181cbe8
commit
1e8ce58f5d
17 changed files with 31 additions and 46 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue