Message388239
> 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. |
|
Date |
User |
Action |
Args |
2021-03-07 15:42:35 | marcosmodenesi | set | recipients:
+ marcosmodenesi, docs@python |
2021-03-07 15:42:35 | marcosmodenesi | set | messageid: <1615131755.48.0.550524446603.issue43427@roundup.psfhosted.org> |
2021-03-07 15:42:35 | marcosmodenesi | link | issue43427 messages |
2021-03-07 15:42:35 | marcosmodenesi | create | |
|