summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsylvain thenault <sylvain.thenault@logilab.fr>2009-03-26 20:10:44 +0100
committersylvain thenault <sylvain.thenault@logilab.fr>2009-03-26 20:10:44 +0100
commitbfbfa5e3d82854cc93993a04d44d4fa6ce3fb17a (patch)
tree3959b5bcbc82dbcb52dfa5122a0c9a3cf5b5ad32
parent6e987b45144638b7930276d785f4be08ba5b4aa0 (diff)
downloadlogilab-common-bfbfa5e3d82854cc93993a04d44d4fa6ce3fb17a.tar.gz
make Interface a new style class
-rw-r--r--interface.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface.py b/interface.py
index e75ec49..6bef82f 100644
--- a/interface.py
+++ b/interface.py
@@ -7,7 +7,7 @@
This module requires at least python 2.2
-:copyright: 2000-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2000-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: General Public License version 2 - http://www.gnu.org/licenses
"""
@@ -15,7 +15,7 @@ __docformat__ = "restructuredtext en"
from types import ListType, TupleType
-class Interface:
+class Interface(object):
"""Base class for interfaces."""
def is_implemented_by(cls, instance):
return implements(instance, cls)