class CommandSet
CommandSet
is a subclass of the built-in set type designed for representing a set
of command names, as used by the basic_menus() function. The following
additional features are provided.
- The constructor accepts a single item (a string) as well as a collection of items.
- The + operator may be used as a synonym for | (set union).
- Union and difference operations accept a string or sequence of strings as the other operand.
---