One - One Code All

Blog Content

python风格PEP8报错:under-indented for visual indent

Python   2009-02-02 20:31:16

超过80个字符函数参数换行问题。

continuation line under-indented for visual indent


解决:首行不显示参数。


调用函数时,参数超长时,多行显示,首行不显示参数,余者按层次缩进显示


上一篇:python集合的操作,并集,交集,差集
下一篇:python为符合PEP8换行,一行拆多行

The minute you think of giving up, think of the reason why you held on so long.