[Zope3-dev] Re: IZAPI doesn't match zapi
Philipp von Weitershausen
philipp at weitershausen.de
Wed Feb 23 21:04:47 EST 2005
Amos Latteier wrote:
> Hi,
>
> I noticed that there are a few cases where
> zope.app.zapi.interfaces.IZAPI doesn't match the actual zapi module.
>
> Specifically the IZAPI interface mentions add, remove, and site
> functions, none of which are present in zapi. There may be other
> problems; I haven't done an exhaustive check.
>
> Is this an error in the documentation or are should these functions
> really be in the zapi module?
This is a documentation error which, as I realize right now, has been on
list of things to fix. But now that you're on this, I don't want to stop
you :).
> Perhaps a test could be added to ensure that the module actually
> implements the interface.
That might not be such a bad idea.
Philipp
More information about the Zope3-dev
mailing list