Efficient Wrappers for Instance Methods

Sven R. Kunze srkunze at mail.de
Wed Feb 3 16:45:31 EST 2016


On 03.02.2016 22:15, Peter Otten wrote:
>
> The technical reason is that functions written in C don't implement the
> descriptor protocol. The bound method is created by invoking the __get__
> method of the class attribute:

Good to know. :-/


It's sad. These functions just look so method-like.


Best,
Sven



More information about the Python-list mailing list