class documentation

Model a python scope (abstract).

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

Inherited from Def:

Method add_user Undocumented
Method users The list of ast entity that holds a reference to this node.
Instance Variable islive Undocumented
Instance Variable node 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.