一直以来都是这样写
Class MyForm(FlaskForm):
...
def __init__(self, *args, **kwargs):
super(MyForm, self).__init__(*args, **kwargs)
今天发下 PyCharm 提示: old-style class contains call for super method
新写法应该是怎样的?
1
hahastudio 2018-05-07 17:52:51 +08:00
|