Class
zope.app.apidoc.typemodule.type.TypeInterface

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 ...>)]

Base classes

Implemented Interfaces

Attributes/Properties

There are no attributes in this class.

Methods

Known Subclasses

There are no known subclasses.