jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/610258 )
Change subject: [cleanup] remove unused NotImplementedClass ......................................................................
[cleanup] remove unused NotImplementedClass
NotImplementedClass was introduced for Python 2.6 backport and can be removed.
Change-Id: Id89a17a9831f32848b4d2b05461449ea92388c21 --- M pywikibot/tools/__init__.py 1 file changed, 0 insertions(+), 10 deletions(-)
Approvals: Matěj Suchánek: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/tools/__init__.py b/pywikibot/tools/__init__.py index de90aec..96b5a8e 100644 --- a/pywikibot/tools/__init__.py +++ b/pywikibot/tools/__init__.py @@ -364,16 +364,6 @@ pass
-class NotImplementedClass(object): - - """No implementation is available.""" - - def __init__(self, *args, **kwargs): - """Initializer.""" - raise NotImplementedError( - '%s: %s' % (self.__class__.__name__, self.__doc__)) - - def is_IP(IP): # noqa N802, N803 """Verify the IP address provided is valid.
pywikibot-commits@lists.wikimedia.org