pycharm中常见错误提示时间:2023-03-10 07:24:25 1.类中定义函方法 PyCharm 提示Method xxx may be 'static': 原因:该方法不涉及对该类属性的操作,编译器建议声明为@staticmethod