码迷,mamicode.com
首页 > 编程语言 > 详细

Python代码一定要对齐

时间:2016-11-09 12:16:23      阅读:227      评论:0      收藏:0      [点我收藏+]

标签:tab   对齐   style   支持   error   outer   out   pytho   erro   

不然会出现错误:

IndentationError: unindent does not match any outer indentation level

PS:新的Python语法,是不支持的代码对齐中,混用TAB和空格的。

 

Python代码一定要对齐

标签:tab   对齐   style   支持   error   outer   out   pytho   erro   

原文地址:http://www.cnblogs.com/farewell-farewell/p/6046002.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!