Suppose you call a function where it is clearly necessary to split the statement into several lines, for readability. However, there are at least two ways to do this:
You would do this:
return render(request, template, { 'var1' : value1, 'var2' : value2, 'var3' : value3 } )
Or you would rather do this:
return render \ ( request, template, { 'var1' : value1, 'var2' : value2, 'var3' : value3 } )
Or please suggest your own formatting. Also indicate the reasons why you use specific formatting and what is wrong with the other.
thanks
python coding-style formatting readability
Art
source share