jenkins-bot submitted this change.

View Change

Approvals: Mpaa: Looks good to me, approved jenkins-bot: Verified
[cleanup] remove deprecated ArgSpec class and getargspec function

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

diff --git a/pywikibot/tools/__init__.py b/pywikibot/tools/__init__.py
index 3ba551c..06514d7 100644
--- a/pywikibot/tools/__init__.py
+++ b/pywikibot/tools/__init__.py
@@ -1790,10 +1790,3 @@
option_msg += '\n' + ' ' * indent
option_msg += option_line
return '{} ({}):'.format(message, option_msg)
-
-
-wrapper = ModuleDeprecationWrapper(__name__)
-wrapper._add_deprecated_attr('getargspec', inspect.getargspec,
- since='20200712', future_warning=True)
-wrapper._add_deprecated_attr('ArgSpec', inspect.ArgSpec,
- since='20200712', future_warning=True)

To view, visit change 635816. To unsubscribe, or for help writing mail filters, visit settings.

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