From: Charles Chan Date: Mon, 26 Mar 2018 00:20:24 +0000 (-0700) Subject: Add missing import for AsyncHTTPClient X-Git-Tag: v5.0.2~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2328%2Fhead;p=thirdparty%2Ftornado.git Add missing import for AsyncHTTPClient Add missing import for AsyncHTTPClient for Future example --- diff --git a/docs/guide/async.rst b/docs/guide/async.rst index 60f8a23b3..fb350d942 100644 --- a/docs/guide/async.rst +++ b/docs/guide/async.rst @@ -91,6 +91,7 @@ And again with a `.Future` instead of a callback: .. testcode:: from tornado.concurrent import Future + from tornado.httpclient import AsyncHTTPClient def async_fetch_future(url): http_client = AsyncHTTPClient()