Terry J. Reedy <tjre...@udel.edu> added the comment:

That sentence is wrong to imply that there is anything special about data 
versus method attributes with respect to overriding -- or that attributes are 
special when it comes to names in a single namespace. What I think the 
paragraph should say, if not just deleted, is something like.

"Instance attributes hide class attributes. Instance data names are often 
intended to override class data names. But instance data names masking methods 
names is likely a mistake. This can be avoided by using verbs for method names 
and nouns for data names."

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12634>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to