Remove apply()

This commit is contained in:
Neal Norwitz 2006-03-17 08:00:19 +00:00
parent fe55464f39
commit d91085598f
56 changed files with 179 additions and 285 deletions

View file

@ -22,7 +22,7 @@ class Generator:
self.putlock.acquire()
if not self.killed:
try:
apply(self.func, (self,) + self.args)
self.func(self, *self.args)
except Killed:
pass
finally: