[Zope-dev] Doc strings of IContentProvider

2007-11-11 Thread Thomas Lotze
While trying to implement the outcome of that zope3-dev discussion on pagelets being content providers, I noticed that the doc strings for IContentProvider talk about how content providers are to be looked up: They specify (informally) that content providers are discriminated by context, request,

Re: [Zope-dev] Doc strings of IContentProvider

2007-11-11 Thread Fred Drake
On Nov 11, 2007 1:34 PM, Thomas Lotze [EMAIL PROTECTED] wrote: To my understanding, the interface should only specify how an object behaves, not how it is obtained. That's my understanding as well. The interface should express how a provider of the interface behaves; larger pictures should be

AW: [Zope-dev] Doc strings of IContentProvider

2007-11-11 Thread Roger Ineichen
Betreff: [Zope-dev] Doc strings of IContentProvider Hi Thomas While trying to implement the outcome of that zope3-dev discussion on pagelets being content providers, I noticed that the doc strings for IContentProvider talk about how content providers are to be looked up: They specify