[Zope-dev] Defining Interfaces

Florent Guillaume fg@nuxeo.com
Tue, 29 Jan 2002 19:47:46 +0000 (UTC)


> > When I define an Interface, are the methods of the interface supposed to
> > have "self" as the first argument?
> 
> No.

But this does preclude automatic validation of the "contract" using
python inheritance from the Interface, doesn't it ? Or will there be
another way ?

Florent
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:fg@nuxeo.com