3.1.1.2 Generators Objects

class Generators
Instances of class Generators have the following methods (in addition to inherited methods and special methods):

assign_names,$  $ gen,$  $ gens,$  $ latex_name,$  $ latex_names,$  $ list,$  $ name,$  $ names,$  $ ngens

Further documentation:

gens( )

Return a tuple whose entries are the generators for this object, in order.

Instances of class Generators also have the following special methods:

__getitem__,$  $ __getslice__,$  $ __len__

See About this document... for information on suggesting changes.