... unmatched macro nesting 不正确的宏嵌套 line too long 行太长 unmatched block nesting 不正确的区、段嵌套 ...
基于140个网页-相关网页
如果某个程序行太长,可以在文件中的下一物理行继续这一行。
If a program line is too long, you can continue the line onto the next physical line in the file.
许多人所提倡的一条经验法则是,类的代码行超过1,000行就可以说该类太长了。
A rule of thumb advocated by many is that a class with more than 1,000 lines of code is too big.
第二,如果字符串用一行表示太长,您可以使用 Python 连续字符:反斜线 (\) 来对字符串进行折行。
Second, if a string is too long for a single line, you can wrap the string using the Python continuation character: the backslash (\).
应用推荐