【问题标题】:Attribute Error for Python Class, but is declared [closed]Python类的属性错误,但已声明[关闭]
【发布时间】:2020-10-19 03:28:19
【问题描述】:

我的一个 python 类出现属性错误,但我在该类的 init 函数中声明了它。我不知道我做错了什么

【问题讨论】:

    标签: python python-3.x class object attributes


    【解决方案1】:

    您将“__init__”拼错为“__int__

    【讨论】:

    • 天哪!谢谢!
    • 如果有帮助请采纳我的回答! :) 我们都有声望哈哈
    猜你喜欢
    • 2015-04-09
    • 2014-09-30
    • 1970-01-01
    • 2015-08-08
    • 2019-08-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-04-11
    相关资源
    最近更新 更多