Why does pycharm propose to change method to static
Why does pycharm propose to change method to static
方法一:
def bar(self): self.is_not_used() doing_something_without_self() def is_not_used(self): pass
方法二:
# noinspection PyMethodMayBeStatic def bar(self): doing_something_without_self()