[Zope-dev] Why is it _setObject(), and why is it undocumented

maxm maxm@mxm.dk
Sat, 01 Feb 2003 11:22:20 +0100


Dieter Maurer wrote:

 > "_setObject" has an "_" because it is a "private" method
 > which should not be called by TTW code.

Ok ... but that is not really what is meant by a private method.

Usually a private method is used purely as a mean of implementation. And 
should never be called from other objects. This is not the case here, as 
the method is clearly a part of the api.

That is why I find it missleading.

regards Max M