Function
zope.interface.interface.fromFunction

Signature

fromFunction(func, interface=None, imlevel=0, name=None)