jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/647620 )
Change subject: [cleanup] remove deprecated api.Request.http_params method
......................................................................
[cleanup] remove deprecated api.Request.http_params method
Change-Id: I3c7775dc14806f508db6a637310c91a728c596fb
---
M pywikibot/data/api.py
1 file changed, 0 insertions(+), 9 deletions(-)
Approvals:
Mpaa: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/data/api.py b/pywikibot/data/api.py
index c9f69a7..e8b6d72 100644
--- a/pywikibot/data/api.py
+++ b/pywikibot/data/api.py
@@ -1334,15 +1334,6 @@
"""Return a list of tuples containing the parameters in any
order."""
return list(self._params.items())
- @deprecated(since='20141006', future_warning=True)
- def http_params(self): # pragma: no cover
- """Return the parameters formatted for inclusion in an HTTP
request.
-
- DEPRECATED. See _encoded_items for explanation of encoding used.
- """
- self._add_defaults()
- return self._http_param_string()
-
def _add_defaults(self):
"""
Add default parameters to the API request.
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/647620
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: I3c7775dc14806f508db6a637310c91a728c596fb
Gerrit-Change-Number: 647620
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Mpaa <mpaa.wiki(a)gmail.com>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged