pygambit.gambit.Game.description#

Game.description#

Get or set the description of the game.

A game’s description is an arbitrary string, and may be more discursive than a title. Unlike object labels, a description has no printable-character or spacing restriction; it need only be well-formed UTF-8 text.

Changed in version 16.6.0: Renamed Game.comment to Game.description.

Changed in version 17.0.0: Must be well-formed UTF-8 text; an invalid value now raises ValueError.