[Zope3-dev] Use of 'adapts' in Zope core

Garrett Smith garrett at mojave-corp.com
Tue Feb 8 15:51:53 EST 2005


Jim Fulton wrote:
> Garrett Smith wrote:
>> When we create adapters in the Zope core, should we start to use
>> `adapts` when we can?
> 
> Yes

Okay, now for a silly question...since we'll be seeing a lot of these
declarations next to `implements`, what's the preferred notation:

  implement(IFoo)
  adapts(IBar)

(no space beteen lines) or:

  implements(IFoo)

  adapts(IBar)

(one space between the lines), or:

  implements(IFoo); adapts(IBar)

or other?

 -- Garrett


More information about the Zope3-dev mailing list