self-documenting-code

In Python, how do I indicate I'm overriding a method?

In Python, how do I indicate I'm overriding a method? Question: In Java, for example, the @Override annotation not only provides compile-time checking of an override but makes for excellent self-documenting code. I’m just looking for documentation (although if it’s an indicator to some checker like pylint, that’s a bonus). I can add a comment …

Total answers: 14