Message238159
> There's this mention 'The __mro__ attribute of the *type* lists
> the method resolution search order used by both getattr() and super().
I think instead of *type* it should say *object-or-type*. It is the "second argument" that supplied the MRO. The "first arguments" determines where we are currently in that MRO so that the search can begin upstream from the current class. |
|
Date |
User |
Action |
Args |
2015-03-15 21:34:03 | rhettinger | set | recipients:
+ rhettinger, docs@python, Tapani Kiiskinen |
2015-03-15 21:34:03 | rhettinger | set | messageid: <1426455243.73.0.214295024333.issue23674@psf.upfronthosting.co.za> |
2015-03-15 21:34:03 | rhettinger | link | issue23674 messages |
2015-03-15 21:34:03 | rhettinger | create | |
|