http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10697
Revision: 10697 Author: xqt Date: 2012-11-11 11:46:51 +0000 (Sun, 11 Nov 2012) Log Message: ----------- some deprecate_arg arguments
Modified Paths: -------------- branches/rewrite/pywikibot/compat/query.py
Modified: branches/rewrite/pywikibot/compat/query.py =================================================================== --- branches/rewrite/pywikibot/compat/query.py 2012-11-11 10:08:17 UTC (rev 10696) +++ branches/rewrite/pywikibot/compat/query.py 2012-11-11 11:46:51 UTC (rev 10697) @@ -1,8 +1,12 @@ import pywikibot from pywikibot.data import api from pywikibot import deprecated +from pywikibot import deprecate_arg
@deprecated("pywikibot.data.api.Request") +@deprecate_arg("useAPI", None) +@deprecate_arg("retryCount", None) +@deprecate_arg("encodeTitle", None) def GetData(request, site=None, back_response=False): if site: request['site'] = site
pywikipedia-svn@lists.wikimedia.org