jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/637839 )

Change subject: [doc] Update HttpRequest doc
......................................................................

[doc] Update HttpRequest doc

Change-Id: I2b865987c2f1b8ecaa06032d40464d51fe81ea53
---
M pywikibot/comms/threadedhttp.py
1 file changed, 3 insertions(+), 6 deletions(-)

Approvals:
  Mpaa: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pywikibot/comms/threadedhttp.py b/pywikibot/comms/threadedhttp.py
index edb7134..d965518 100644
--- a/pywikibot/comms/threadedhttp.py
+++ b/pywikibot/comms/threadedhttp.py
@@ -24,20 +24,17 @@

 class HttpRequest:

-    """Object wrapper for HTTP requests that need to block origin thread.
+    """Object wrapper for HTTP requests.

     self.data will be either:
-    * a tuple of (dict, str) if the request was successful
+    * requests.Response object if the request was successful
     * an exception
     """

     @deprecated_args(headers='all_headers', uri='url')
     def __init__(self, url, method='GET', params=None, body=None,
                  all_headers=None, callbacks=None, charset=None, **kwargs):
-        """Initializer.
-
-        See C{Http.request} for parameters.
-        """
+        """Initializer."""
         self.url = url
         self.method = method
         self.params = params

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/637839
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I2b865987c2f1b8ecaa06032d40464d51fe81ea53
Gerrit-Change-Number: 637839
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Mpaa <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to