New submission from Marcos M <marcosmoden...@gmail.com>:
> 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 should say cls.f(*args) becomes f(cls, *args) as stated in the table that follows that paragraph. ---------- assignee: docs@python components: Documentation messages: 388239 nosy: docs@python, marcosmodenesi priority: normal severity: normal status: open title: Possible error on the descriptor howto guide type: enhancement versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43427> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com