

def add_child(self, child):
    assert (child is not self)
    assert (self not in child.children)
    if (child not in self.children):
        self.children.append(self)

dataset/ETHPy150Open PyTables/PyTables/tables/scripts/pttree.py PrettyTree.add_child/VarMisuse@48/51 `child`->`self`