Skip to content

Commit

Permalink
Bugfix in asynchronous_fetch example code.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajdavis committed Jul 11, 2014
1 parent 1e33797 commit ec37d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/async.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down

0 comments on commit ec37d01

Please sign in to comment.