Message141103
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." |
|
Date |
User |
Action |
Args |
2011-07-25 17:10:37 | terry.reedy | set | recipients:
+ terry.reedy, rhettinger, ezio.melotti, eric.araujo, docs@python, ats.engg |
2011-07-25 17:10:37 | terry.reedy | set | messageid: <1311613837.34.0.0185530896514.issue12634@psf.upfronthosting.co.za> |
2011-07-25 17:10:36 | terry.reedy | link | issue12634 messages |
2011-07-25 17:10:36 | terry.reedy | create | |
|