This is based on the new Python 2.2 stuff, isn't it? I would guess the answer would be "You exclude the 'self' first arg in a class method". Unfortunately I am still trying to digest what has changed in Python 2.2, so I am probably not the best person to answer beyond this point. There was a link on here (Or was it -announce) to the change docs for 2.2, that might give you some pointers.
Adrian... -- The difficulty of tactical maneuvering consists in turning the devious into the direct, and misfortune into gain. - Sun Tzu ----- Original Message ----- From: "Chris Withers" <[EMAIL PROTECTED]> To: "Jeffrey P Shell" <[EMAIL PROTECTED]> Cc: "Steve Alexander" <[EMAIL PROTECTED]>; "zope-dev" <[EMAIL PROTECTED]> Sent: Monday, January 28, 2002 3:17 PM Subject: Re: [Zope-dev] Defining Interfaces > Jeffrey P Shell wrote: > > > > On 1/27/02 11:25 AM, "Steve Alexander" <[EMAIL PROTECTED]> wrote: > > > > > Hi folks, > > > > > > When I define an Interface, are the methods of the interface supposed to > > > have "self" as the first argument? > > > > No. > > Can you expand on this a little? > > It doesn't make sense to me to exclude 'self'... > > cheers, > > Chris > > _______________________________________________ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )