首页
编程
java
php
前端
首页
编程
java
php
前端
AttributeError: '' object has no attribute ''
AttributeError: 'Washer' object has no attribute 'width'
明明定义了对象属性,却找不到属性怎么办
init,不是int
你的构造函数没执行,变量可不没定义吗
初始化函数写错了,init 不是 int
这篇文章讲的很详细,请看:
AttributeError: ‘NoneType’ object has no attribute ‘data’
点击展开全文