def ex_varassign(name, expr):
 if (not isinstance(expr, ast.expr)):
  expr = ex_literal(expr)
 return ast.Assign([ex_lvalue(name)], expr)

def ex_varassign ( name , expr ) : if ( not isinstance ( expr , ast . expr ) ) : expr = ex_literal ( expr ) return ast . Assign ( [ ex_lvalue ( name ) ] , expr )
assign an expression into a single variable .