def __init__(self, container_factory=None):
if container_factory:<EOL><INDENT>self._container_factory = container_factory<EOL><DEDENT>self.container = self._container_factory()<EOL>
Init.

:param events.containers.HandlerCollection container_factory: Factory for callback storage; must support append and remove.