类中定义函方法 PyCharm 提示Method xxx may be ‘static’
http://stackoverflow.com/questions/23554872/why-does-pycharm-propose-to-change-method-to-static
原因是该方法不涉及对该类属性的操作,编译器建议声明为@staticmethod,面向对象思想体现
http://stackoverflow.com/questions/23554872/why-does-pycharm-propose-to-change-method-to-static
原因是该方法不涉及对该类属性的操作,编译器建议声明为@staticmethod,面向对象思想体现