jenkins-bot submitted this change.

View Change

Approvals: Matěj Suchánek: Looks good to me, approved jenkins-bot: Verified
[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(-)

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.


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

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Id89a17a9831f32848b4d2b05461449ea92388c21
Gerrit-Change-Number: 610258
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Matěj Suchánek <matejsuchanek97@gmail.com>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged