调用类报错,具体如下
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)
后来解决方法:在类名称后边加括号()
由于未添加括号情况下,未被认为是类的实例,故报此错