Revision: 8831 Author: valhallasw Date: 2011-01-15 17:50:22 +0000 (Sat, 15 Jan 2011) Log Message: ----------- Reverting r6159 by russblau and correcting.
Warnings for deprecated arguments are correct. Added the fact 'ns' is the new parameter for what once was 'defaultNamespace'.
Modified Paths: -------------- branches/rewrite/pywikibot/page.py
Modified: branches/rewrite/pywikibot/page.py =================================================================== --- branches/rewrite/pywikibot/page.py 2011-01-15 17:50:15 UTC (rev 8830) +++ branches/rewrite/pywikibot/page.py 2011-01-15 17:50:22 UTC (rev 8831) @@ -39,8 +39,8 @@
"""
-# @deprecate_arg("insite", None) -# @deprecate_arg("defaultNamespace", None) + @deprecate_arg("insite", None) + @deprecate_arg("defaultNamespace", "ns") def __init__(self, source, title=u"", ns=0): """Instantiate a Page object.