pygambit.gambit.Action.label#

Action.label#

Get or set the text label of the action.

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.