pygambit.gambit.Player.label#

Player.label#

Gets or sets the text label of the player.

Changed in version 16.7.0: An invalid label now raises ValueError: a label may contain only printable ASCII characters and spaces, not begin/end with a space, nor have two consecutive spaces.