strange formatting
i cant figure out why my python is getting formatted wierd ...
example:
i have something like:
a = function([a,b,c])
and it is formatted like this:
a = function([
a,b,
c])
the problem is this is not valid python, you need backslash at the end of the line to be valid ...
I turned off wrapping long lines, and i cannot seem to figure out what is causing this ... what can i do?
example:
i have something like:
a = function([a,b,c])
and it is formatted like this:
a = function([
a,b,
c])
the problem is this is not valid python, you need backslash at the end of the line to be valid ...
I turned off wrapping long lines, and i cannot seem to figure out what is causing this ... what can i do?
Please sign in to leave a comment.
net += "L_1_" + curComp[
"partRef"] + " " + K1 + " " + K2 + " " +
valTmp[0] + "\n"
??
Your original example is valid Python - when the line break occurs inside brackets or parentheses, the backslash character is not needed.