[Zope3-dev] Re: Missing 'provides' attribute exception in API doc

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Apr 1 22:53:42 EST 2005


On Tuesday 29 March 2005 12:22, jürgen Kartnaller wrote:
> Ok, I mixed up provides and adapts.
> provides -> implements
> for -> adapts
>
> But anyway, I also have an implements definition in my
> PilotPointsACROCUP class :
>
> class PilotPointsACROCUP(PilotPoints):
>      """Adapts to point data for ACROCUP.
>      """
>      adapts(IContestPilot, IContest)
>      implements(IPoints)
>
> Otherwise it would not work.
> The result is the same.

I cannot reproduce the problem with an arbitrary adapter of my choice. Also, 
it really does not make sense anyways.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-dev mailing list