Message281529
It isn't ignored. The first definition is entered into the class dictionary, then the second definition replaces it. That's why Victor talked about redefining a method, because that's what happens. You can't really disentangle the two cases except by source inspection (a linter). In the parameter list case, the parser has the information it needs to detect it in hand, and more importantly there is no meaning to "replacing" a parameter, so we can and do generate an error in that case. |
|
Date |
User |
Action |
Args |
2016-11-22 22:51:25 | r.david.murray | set | recipients:
+ r.david.murray, rhettinger, vstinner, inglesp |
2016-11-22 22:51:25 | r.david.murray | set | messageid: <1479855085.89.0.912253629267.issue28776@psf.upfronthosting.co.za> |
2016-11-22 22:51:25 | r.david.murray | link | issue28776 messages |
2016-11-22 22:51:25 | r.david.murray | create | |
|