def append(self, child): """overridden to detect problems easily""" assert child not in self.parents() VNode.append(self, child)