pygambit.gambit.Player.label#

Player.label#

Gets or sets the text label of the player.

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.