diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-30 14:57:57 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-30 14:57:57 +0200 |
commit | 9ec0cfac7937cdf56519f033c074e8f6b4cf1ccf (patch) | |
tree | 6717197d7d0d8e15d5f23fa0d3e83e503273d300 | |
parent | 6a4ef7618a5a3129ccd9de5676709a13c10c7ac8 (diff) | |
download | pylint-9ec0cfac7937cdf56519f033c074e8f6b4cf1ccf.tar.gz |
Fix an occurrence of no-classmethod-decorator.
-rw-r--r-- | pylint/interfaces.py | 2 |
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): |