E0202

Message

An attribute affected in %s line %s hide this method

Description

Used when a class defines a method which is hidden by an instance attribute with the same name.

This message belongs to the classes checker.

Explanation

Examples are:

  • a class defines a method and a superclass has set an instance attribute with the same name.
  • a class defines a method and a client sets an instance attribute with the same name.

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