Var.ensure_name()

Var.ensure_name()#

Var.ensure_name()[source]#

Ensures that the variable has a name.

If the variable already has a name, nothing happens. Otherwise, a unique random name is generated with a leading underscore.

Return type:

Self