[Zope-dev] Why is it _setObject(), and why is it undocumented
Dieter Maurer
dieter@handshake.de
Fri, 31 Jan 2003 21:24:45 +0100
maxm wrote at 2003-1-31 00:35 +0100:
> I have a few tutorials / How_to's on zope.org. And sometimes I get some
> interresting mails because of that.
>
> Somebody asked me today why _setObject() has that name, as it is used in
> many products, and thus ought to be an interface method. And called
> something like "setObject()" or "manage_setObject()" And also he didn't
> understand why it wasn't documented anywhere.
"_setObject" has an "_" because it is a "private" method
which should not be called by TTW code.
It should be documented in the ZDG.
If it is not, file a collector issue (documentation request).
Dieter