“Python报错信息”的版本间的差异
来自YTYZX有图有真相的百科
(创建页面,内容为“Python提示object is not subscriptable的错误 Traceback (most recent call last): File "<pyshell#14>", line 1, in <module> s1 = sm() File "D:\github.com_h...”) |
(没有差异)
|
2020年8月1日 (六) 12:17的最新版本
Python提示object is not subscriptable的错误
Traceback (most recent call last):
File "<pyshell#14>", line 1, in <module> s1 = sm() File "D:\github.com_henry199101\6.00.1x_Files\Week_6\Problem_Set_6\caogao\qwer.py", line 8, in sm dict[key] = values[keys.index[key] + 3]
TypeError: 'builtin_function_or_method' object is not subscriptable
内建函数或者方法对象不能subscriptable