At 03:17 PM 1/28/02 +0000, Chris Withers wrote:
>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'...

Because when you *call* the methods, you don't pass 'self', it's 
implied.  Since an interface is supposed to document the call signature, it 
actually doesn't make sense for it to include 'self', since it's not part 
of the call signature.  Make sense?


_______________________________________________
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 )

Reply via email to