jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/635816 )
Change subject: [cleanup] remove deprecated ArgSpec class and getargspec function ......................................................................
[cleanup] remove deprecated ArgSpec class and getargspec function
Change-Id: If0da0379f9a49c1fbc4ca538221fa6a4befcc05e --- M pywikibot/tools/__init__.py 1 file changed, 0 insertions(+), 7 deletions(-)
Approvals: Mpaa: Looks good to me, approved jenkins-bot: Verified
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)
pywikibot-commits@lists.wikimedia.org