Hello all
Will someone explain to me what happens when you call an Interface
with arguments, and why the same argument twice?
My problem is to understand the semantics of the line
parent = IServiceCollection(parent, parent)
part of
def setServiceParent(self, parent):
if self.parent is not None:
self.disownServiceParent()
parent = IServiceCollection(parent, parent)
self.parent = parent
self.parent.addService(self)
in twisted.application.service
Thanks in advance.
_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python