2017-03-11から1日間の記事一覧
def apply_async(func, args, *, callback): # Compute the result result = func(*args) # Invoke the callback with the result callback(result)
print('[{}] Got: {}'.format(self.sequence, result))
def apply_async(func, args, *, callback): # Compute the result result = func(*args) # Invoke the callback with the result callback(result)
print('[{}] Got: {}'.format(self.sequence, result))