From b0578819e1001bd3ab3555c490e8845f79099c88 Mon Sep 17 00:00:00 2001 From: Josh Staiger Date: Sat, 20 Nov 2010 11:51:39 -0500 Subject: [PATCH] Update pydoc to mention response.rethrow instead of reraise. --- tornado/httpclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tornado/httpclient.py b/tornado/httpclient.py index c8c13f61..25d07ae5 100644 --- a/tornado/httpclient.py +++ b/tornado/httpclient.py @@ -180,7 +180,7 @@ class AsyncHTTPClient(object): If an error occurs during the fetch, the HTTPResponse given to the callback has a non-None error attribute that contains the exception - encountered during the request. You can call response.reraise() to + encountered during the request. You can call response.rethrow() to throw the exception (if any) in the callback. """ if not isinstance(request, HTTPRequest):