调用类报错,具体如下
TypeError: unbound method submit() must be called with jinjin instance as first argument (got float instance instead)
后来解决方法:在类名称后边加括号()
由于未添加括号情况下,未被认为是类的实例,故报此错
调用类报错,具体如下
TypeError: unbound method submit() must be called with jinjin instance as first argument (got float instance instead)
后来解决方法:在类名称后边加括号()
由于未添加括号情况下,未被认为是类的实例,故报此错
转载于:https://www.cnblogs.com/merry-0131/p/9837042.html