diff options
author | sylvain thenault <sylvain.thenault@logilab.fr> | 2009-03-26 20:10:44 +0100 |
---|---|---|
committer | sylvain thenault <sylvain.thenault@logilab.fr> | 2009-03-26 20:10:44 +0100 |
commit | bfbfa5e3d82854cc93993a04d44d4fa6ce3fb17a (patch) | |
tree | 3959b5bcbc82dbcb52dfa5122a0c9a3cf5b5ad32 | |
parent | 6e987b45144638b7930276d785f4be08ba5b4aa0 (diff) | |
download | logilab-common-bfbfa5e3d82854cc93993a04d44d4fa6ce3fb17a.tar.gz |
make Interface a new style class
-rw-r--r-- | interface.py | 4 |
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) |