Message345019
> > What matters is the __mro__ attribute of the first argument. It matters
> because that is how the MRO actually is searched.
>
> By the way, if it was true (it is not),
Yes, I see that now.
> then what did you think was
> the purpose of the second parameter of super(type, obj-or-type)?
Given super(T, obj).method the method object is bound to instance obj;
how else could it return a bound method instead of an unbound one? |
|
Date |
User |
Action |
Args |
2019-06-08 03:08:55 | steven.daprano | set | recipients:
+ steven.daprano, rhettinger, docs@python, jdemeyer, maggyero |
2019-06-08 03:08:55 | steven.daprano | link | issue37176 messages |
2019-06-08 03:08:55 | steven.daprano | create | |
|