First - you can use ``from zope.app.container.constraints import
contains``. It's a bit easier to write.
Anyways, in Python you can't reference the class you're in because
that name, 'ILinkContainer' does not exist **until the end of the
class statement** (after all of the things indented within t
Hi!
I want to have container, witch should contain links and others
containers of his own type! What I did is this in my interface-definition:
class ILinkContainer(IContainer):
"""Basic folder, containing only links and other link folders."""
def __setitem__(name, object):
"""