2 ms·
For the 'method object' one, I use nested functions. Python is not Java or Smalltalk. The @classmethod example I'd write with an ordinary function also, outsid
by abecedarius 13y ago
For the 'method object' one, I use nested functions. Python is not Java or Smalltalk.
The @classmethod example I'd write with an ordinary function also, outside the class.