Python3.3 continuation line under-indented for visual indent 与 multiple spaces after ,

比较直观的先上几张图:


1. continuation line under-indented for visual indent


问题原因:调用函数时,参数超长时,多行显示,首行不显示参数,余者按层次缩进显示,又如:

Python3.3 continuation line under-indented for visual indent 与 multiple spaces after ,_第1张图片 


2.   multiple spaces after ,

Python3.3 continuation line under-indented for visual indent 与 multiple spaces after ,_第2张图片


3. the reason??



猜测虽然python3.3默认是支持 unicode 的,不用声明编码也是支持的,故可以用汉字做为字典的键,理论上是可以这样的,没有语法错误,但 PEP8应不太建议使用汉字或其它 unicode 的字符来做为关键词.



你可能感兴趣的:(Python3.3 continuation line under-indented for visual indent 与 multiple spaces after ,)