3 ms·
Doesn't Python make a distinction between some_method and some_method(), where the first is a direct reference to a Method object (more or less) and the second
by jamesbritt 18y ago
Doesn't Python make a distinction between some_method and some_method(), where the first is a direct reference to a Method object (more or less) and the second actually invokes that method?
- jmtulloss 18y agoYes, all functions are objects. The thing is, "print" used to be a part of the language, not a function, so you couldn't treat it like a function.