diff --git a/README.md b/README.md index 73d0d1d..cd17159 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,6 @@ task_result = result(task_id) # result returns None if the task has not been executed yet # so it makes more sense to use a hook: -from hooks import print_result async('math.modf', 2.5, hook='hooks.print_result') diff --git a/README.rst b/README.rst index 5636c95..235f9a4 100644 --- a/README.rst +++ b/README.rst @@ -55,7 +55,6 @@ Result example # result returns None if the task has not been executed yet # so it makes more sense to use a hook: - from hooks import print_result async('math.modf', 2.5, hook='hooks.print_result')