
1.出现这样的提示是说明,该函数,没有使用到类的 self ,可以写成为静态的函数
2.通过添加标识符 @staticmethod 可以设置静态类的函数
1.出现这样的提示是说明,该函数,没有使用到类的 self ,可以写成为静态的函数
2.通过添加标识符 @staticmethod 可以设置静态类的函数
本文标题:Python Method 'do_r_data_first'
本文链接:https://www.haomeiwen.com/subject/hlriertx.html
网友评论