Permalink
Browse files

Fix error in docs

  • Loading branch information...
1 parent 0965952 commit 93a0dc821c6341bf9f315275341e9b71fecabd4b @bdarnell bdarnell committed Sep 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tornado/gen.py
View
@@ -23,7 +23,7 @@ class GenAsyncHandler(RequestHandler):
@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")

0 comments on commit 93a0dc8

Please sign in to comment.