class documentation

Model the definition of a generator or comprehension.

Method name If the node associated to this Def has a name, returns this name. Otherwise returns None.
Instance Variable node Undocumented

Inherited from Def (via ClosedScope, Scope):

Method add_user Undocumented
Method users The list of ast entity that holds a reference to this node.
Instance Variable islive Undocumented
Method _setup Undocumented
Method _str Undocumented
Instance Variable _users Undocumented
def name(self) -> str: (source)

If the node associated to this Def has a name, returns this name. Otherwise returns None.