News for hackers. Stuff that matters.
Re:Python Best Practice Patterns by abecedarius on Saturday March 01, 2014 @12:03AM (#7323168)
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.

There are no comments on this comment yet.