Fix error in docs
This commit is contained in:
parent
096595233d
commit
93a0dc821c
|
@ -23,7 +23,7 @@ could be written with ``gen`` as::
|
|||
@gen.engine
|
||||
def get(self):
|
||||
http_client = AsyncHTTPClient()
|
||||
response = yield gen.Task(http_client.fetch("http://example.com"))
|
||||
response = yield gen.Task(http_client.fetch, "http://example.com")
|
||||
do_something_with_response(response)
|
||||
self.render("template.html")
|
||||
|
||||
|
|
Loading…
Reference in New Issue