jenkins-bot submitted this change.
[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.