Representation of the special type interface.
Demonstration:
>>> from zope.interface import Interface
>>> class IFoo(Interface):
... pass
>>> class Foo:
... implements(IFoo)
>>> from zope.app.testing import ztapi
>>> ztapi.provideUtility(IFoo, Foo(), 'Foo')
>>> typeiface = TypeInterface(IFoo, None, None)
>>> typeiface.interface
<InterfaceClass zope.app.apidoc.typemodule.type.IFoo>
>>> typeiface.get('Foo').__class__ == Foo
True
>>> typeiface.items() #doctest:+ELLIPSIS
[(u'Foo', <zope.app.apidoc.typemodule.type.Foo instance at ...>)]
There are no attributes in this class.
get(key, default=None)
See zope.app.container.interfaces.IReadContainer
items()
See zope.app.container.interfaces.IReadContainer
keys()
values()
There are no known subclasses.