4 Apr
2004
4 Apr
'04
8:21 p.m.
On Sunday 04 April 2004 15:23, Paul Winkler wrote:
Yeah, I guess the best way would be to do interfaces. Then you can use parts of the Zope 3 API documentation tool (actually all of the Interface and Class doc module) and generate docs.
I note in lib/python/Interfaces/IInterface.py, there are several ways to declare interfaces currently. Is one of these preferred?
class FooBar: implements(IFoo, IBar)
This is the only way used in Zope 3.
class FooBar: __implements__ = (IFoo, IBar)
This is mainly for backward-compatibility, I understand. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training