[Python] Why does PyCharm propose to change method to static?

Discussão em 'Python' iniciado por Stack, Fevereiro 5, 2025.

  1. Stack

    Stack Membro Participativo

    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.

    [​IMG]

    What is the practical reason for that? Some kind of micro-performance(-or-memory)-optimization?

    Continue reading...

Compartilhe esta Página