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

Change subject: [cleanup] Remove deprecated pywikbot.deprecated and 
pywikibot.deprecate_arg
......................................................................

[cleanup] Remove deprecated pywikbot.deprecated and pywikibot.deprecate_arg

deprecated and deprecate_arg decorators are imported from tools for
all their occurences. The redirected pywikibot functions can be removed
without having a FutureWarning first because they are for internal use
only to deprecate or desupport framework code.

Change-Id: I2a2b1d312a41cffc34ce4a21019cb1cffe84d4a5
---
M pywikibot/__init__.py
1 file changed, 0 insertions(+), 4 deletions(-)

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



diff --git a/pywikibot/__init__.py b/pywikibot/__init__.py
index b855a0e..df21568 100644
--- a/pywikibot/__init__.py
+++ b/pywikibot/__init__.py
@@ -119,10 +119,6 @@
     globals()[_name] = wrapped_func


-deprecated = redirect_func(__deprecated)
-deprecate_arg = redirect_func(_deprecate_arg)
-
-
 class Timestamp(datetime.datetime):

     """Class for handling MediaWiki timestamps.

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/630603
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: I2a2b1d312a41cffc34ce4a21019cb1cffe84d4a5
Gerrit-Change-Number: 630603
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