summaryrefslogtreecommitdiff
path: root/pylint/interfaces.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/interfaces.py')
-rw-r--r--pylint/interfaces.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/interfaces.py b/pylint/interfaces.py
index 03fe1df..35e2a3e 100644
--- a/pylint/interfaces.py
+++ b/pylint/interfaces.py
@@ -27,9 +27,9 @@ CONFIDENCE_LEVELS = [HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED]
class Interface(object):
"""Base class for interfaces."""
+ @classmethod
def is_implemented_by(cls, instance):
return implements(instance, cls)
- is_implemented_by = classmethod(is_implemented_by)
def implements(obj, interface):