Why does pycharm propose to change method to static

前端 未结 9 1592
面向向阳花
面向向阳花 2020-12-22 18:41

The new pycharm release (3.1.3 community edition) proposes to convert the methods that don\'t work with the current object\'s state to static.

9条回答
  •  心在旅途
    2020-12-22 18:56

    I think that the reason for this warning is config in Pycharm. You can uncheck the selection Method may be static in Editor->Inspection

提交回复
热议问题