pygambit.gambit.Node.label#

Node.label#

The text label associated with the node.

Changed in version 17.0.0: A label may now be any well-formed UTF-8 text, not just ASCII; it must still contain no control characters, and must not begin/end with whitespace or have two consecutive whitespace characters. “Whitespace” means any Unicode space separator (e.g. U+00A0 NO-BREAK SPACE), not just the ASCII space.