[issue25772] Misleading descriptions about built-in `super.`

2015-12-01 Thread R. David Murray
R. David Murray added the comment: Heh. OK, learn something new every day. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue25772] Misleading descriptions about built-in `super.`

2015-12-01 Thread Eryk Sun
Eryk Sun added the comment: > Just FYI, 'super' is not a type No, super is a type: >>> super It's one of 3 types defined in Objects/typeobject.c: PyBaseObject_Type : "object" PyType_Type : "type" PySuper_Type : "super" A super instance (CPython superobject) h

[issue25772] Misleading descriptions about built-in `super.`

2015-12-01 Thread R. David Murray
R. David Murray added the comment: Just FYI, 'super' is not a type, it is a function that returns a proxy. (In python3 there is also compiler magic involved in the no-argument form, but it is still a function :) -- nosy: +r.david.murray title: Misleading descriptions about built-in ty