commit | d91085598f5185b267ea51a3f615da9527af2ed2 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Fri Mar 17 08:00:19 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Fri Mar 17 08:00:19 2006 +0000 |
tree | 80849b9455438e9963a61d7aff3fc3b060213553 | |
parent | fe55464f393fc002fd0911a4d8dba6694723d408 [diff] [blame] |
Remove apply()
diff --git a/Demo/threads/Generator.py b/Demo/threads/Generator.py index a2713af..63bed9b 100644 --- a/Demo/threads/Generator.py +++ b/Demo/threads/Generator.py
@@ -22,7 +22,7 @@ self.putlock.acquire() if not self.killed: try: - apply(self.func, (self,) + self.args) + self.func(self, *self.args) except Killed: pass finally: