Lets say I have a function that return a lot of variables:
def func():
return var_a, var_b, var_c, var_d, var_e, var_f, var_g, var_h, var_i,
Using this function results in very long lines
var_a, var_b, var_c, var_d, var_e, var_f, var_g, var_h, var_i = func()
Ideally, I would like to use the line breaker \, e.g.
a = var \
+ var \
+ var \
+ var \
+ var
However, I don't think this is possible with the result of a function (i.e. unpacking tuple). Are there methods to do so? Or should I find another way to return fewer variables? Do you have any other style suggestions?