E0102

Message

%s already defined line %s

Description

Used when a function / class / method is redefined.

This message belongs to the basic checker.

Explanation

In Python, a redefinition of functions, classes, and methods is allowed and overrides the original definition. This is confusing to readers and is therefore considered an error in PyLint.


Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License