From ed767cb70381ba4313a9e4b0c53a68b016f10e36 Mon Sep 17 00:00:00 2001 From: ztest Date: Sat, 12 May 2012 13:09:14 -0400 Subject: [PATCH] Fix a docstring typo (of -> if). --- requests/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requests/models.py b/requests/models.py index 74c7363..e60e67b 100644 --- a/requests/models.py +++ b/requests/models.py @@ -457,7 +457,7 @@ class Request(object): return False def send(self, anyway=False, prefetch=False): - """Sends the request. Returns True of successful, False if not. + """Sends the request. Returns True if successful, False if not. If there was an HTTPError during transmission, self.response.status_code will contain the HTTPError code. -- 2.34.1