[issue43427] Possible error on the descriptor howto guide

2021-03-07 Thread Marcos M
Marcos M added the comment: Let me provide a link to ease finding this piece of documentation https://docs.python.org/3/howto/descriptor.html#static-methods -- ___ Python tracker <https://bugs.python.org/issue43

[issue43427] Possible error on the descriptor howto guide

2021-03-07 Thread Marcos M
New submission from Marcos M : > To recap, functions have a __get__() method so that they can be converted to > a method when accessed as attributes. The non-data descriptor transforms an > obj.f(*args) call into f(obj, *args). Calling cls.f(*args) becomes f(*args). I THINK it s