All pastes #805828 Raw Edit

Someone

public text v1 · immutable
·published 2007-12-04 18:27 UTC
rendered paste body
from twisted.python import components
from zope.interface import implements, Interface


class IFoo(Interface):
    pass

class Foo(object):
    implements(IFoo)

c = components.Componentized()
c.addComponent(Foo())

print IFoo(c)