Commits

David Pursehouse committed 9e32d22

Better message for E0202

Comments (0)

Files changed (2)

checkers/classes.py

               compatibility for an unexpected reason. Please report this kind \
               if you don\'t make sense of it.'),
 
-    'E0202': ('An attribute affected in %s line %s hide this method',
+    'E0202': ('An attribute defined in %s line %s hides this method',
               'method-hidden',
               'Used when a class defines a method which is hidden by an '
               'instance attribute from an ancestor class or set by some '

test/messages/func_e0205.txt

-E: 14:Cdef.abcd: An attribute affected in input.func_e0205 line 10 hide this method
+E: 14:Cdef.abcd: An attribute defined in input.func_e0205 line 10 hides this method