Fix error in docs

This commit is contained in:
Ben Darnell 2011-09-04 12:52:43 -07:00
parent 096595233d
commit 93a0dc821c
1 changed files with 1 additions and 1 deletions

View File

@ -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")