def clone(cls, name, node):
        """Return a clone *child* class with a different Node class."""
        bases, dct = (cls,), {'Node':node}
        return cls.__class__(name, bases, dct)
Return a clone *child* class with a different Node class.
recipes/Python/201423_Trees_and_more_trees_part_II/recipe-201423.py