class documentation
class Comp(ClosedScope): (source)
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 |
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 |
overrides
libstatic.Scope.nameIf the node associated to this Def has a name, returns this name. Otherwise returns None.