(self, info, parent, root, clients=None)
return None
Inits a new channel node.

        If root is None, root is set to *self*.
Inits a new channel node.
Inits a new channel node .
def __init__(self, info, parent, root, clients=None):
        """
        Inits a new channel node.

        If root is None, root is set to *self*.
        """
        self.info = info
        self.childs = list()

        # Init a root channel
        if root is None:
            self.parent = None
            self.clients = None
            self.root = self

        # Init a real channel
        else:
            self.parent = parent
            self.root = root
            self.clients = clients if clients is not None else list()
        return None
def __init__ ( self , info , parent , root , clients = None ) : self . info = info self . childs = list ( ) # Init a root channel if root is None : self . parent = None self . clients = None self . root = self # Init a real channel else : self . parent = parent self . root = root self . clients = clients if clients is not None else list ( ) return None