From: Josh Staiger Date: Sat, 20 Nov 2010 16:51:39 +0000 (-0500) Subject: Update pydoc to mention response.rethrow instead of reraise. X-Git-Tag: v1.2.0~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F173%2Fhead;p=thirdparty%2Ftornado.git Update pydoc to mention response.rethrow instead of reraise. --- diff --git a/tornado/httpclient.py b/tornado/httpclient.py index c8c13f61e..25d07ae5c 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):