pygambit.gambit.Game.delete_tree#
- Game.delete_tree(node: Node | str) None #
Truncate the game tree at node, deleting the subtree beneath it.
- Parameters:
node (Node or str) – The node to truncate the game at. If a string is passed, the node is determined by finding the node with that label, if any.
- Raises:
MismatchError – If node is a Node from a different game.