pool: fix typo in _execute; this fixes the doctests

This commit is contained in:
Denis Bilenko
2009-06-11 16:31:53 +07:00
parent 259e646c96
commit 3bf32a7dfd

View File

@@ -54,7 +54,7 @@ class Pool(object):
execute_async = execute
def _execute(self, evt, func, args, kw):
p = self.execute(func, args, kw)
p = self.execute(func, *args, **kw)
p.link(evt)
return p