[Zope-dev] Defining Interfaces
Jeffrey P Shell
jeffrey@cuemedia.com
Sun, 27 Jan 2002 14:55:52 -0700
On 1/27/02 11:25 AM, "Steve Alexander" <steve@cat-box.net> wrote:
> Hi folks,
>
> When I define an Interface, are the methods of the interface supposed to
> have "self" as the first argument?
No.
> It certainly seems that way from
> ./lib/python/AccessControl/IUserFolder.py in Zope2. It also seems that
> way from the Interface Interface.
>
> However, many of the interfaces in Zope3 omit the "self" argument.
--
Jeffrey P Shell
www.cuemedia.com
Sent using the Entourage X Test Drive.