ITeye博客

TypeError: 'NoneType' object is unsubscriptable

zhanyingle_1981 · 2012-11-08 14:36 · my python · 编程语言 · Markdown

TypeError: 'NoneType' object is unsubscriptable

 

 x = None 然后你使用了x[0],就会出现这个错误。

 

If a list a is none, and you use a[1], it will throw this error

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。