H
Hallvard B Furuseth
What's the difference between a built-in method and a method-wrapper
object? Why has only the former a __self__, even though both are
tied to the object on which to perform the operation?
Why do list.pop and list.__len__ have different types at all?
object? Why has only the former a __self__, even though both are
tied to the object on which to perform the operation?
Why do list.pop and list.__len__ have different types at all?
Traceback (most recent call last):[5].pop.__self__ [5]
[5].__len__.__self__
<slot wrapper '__len__' of 'list' objects>[5].pop[5].__len__list.poplist.__len__