From ec37d01f2dd739f5631ac95621e46121ae51cf0a Mon Sep 17 00:00:00 2001 From: "A. Jesse Jiryu Davis" Date: Fri, 11 Jul 2014 13:05:18 -0400 Subject: [PATCH] Bugfix in asynchronous_fetch example code. --- docs/guide/async.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/async.rst b/docs/guide/async.rst index e4ead74b..8d5f27c6 100644 --- a/docs/guide/async.rst +++ b/docs/guide/async.rst @@ -78,7 +78,7 @@ callback argument:: http_client = AsyncHTTPClient() def handle_response(response): callback(response.body) - http_client.fetch(url) + http_client.fetch(url, callback=handle_response) And again with a `.Future` instead of a callback::