[Zope] Published methods and docstrings

Dieter Maurer dieter@handshake.de
Fri, 13 Dec 2002 22:40:23 +0100


Andrew Durdin writes:
 > I'm a newcomer to Zope, and while mostly it seems attractive, there's one
 > thing that to me seems downright wrong: the use of docstrings to
 > differentiate between published and private (wrt the web) objects (methods
 > in particular)
I agree completely with you!

 > ...
 > 3. As far as I have been able to see, there is no way to disable the
 > functionality described in (2);
You can use a comment for documentation rather than a string...

 > similarly, there is no way to use a override
 > the behaviour, so that one can give a non-published object a docstring.
You can give the non-published documented object a "_" prefixed name.


Dieter