jenkins-bot submitted this change.

View Change

Approvals: Mpaa: Looks good to me, approved jenkins-bot: Verified
[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(-)

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 change 630603. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I2a2b1d312a41cffc34ce4a21019cb1cffe84d4a5
Gerrit-Change-Number: 630603
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Mpaa <mpaa.wiki@gmail.com>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged