With Python 2.2 a new type of classes, named new-style classes, was introduced. New-style classes add some convenient functionality to classic classes. New-style classes are recognized by having class object as base class.
Tuesday, August 21, 2012
Thursday, August 09, 2012
Python caching decorators
Implementing a dynamic programming algorithm is made much easier in Python by using a caching/memorization decorator.
Subscribe to:
Posts (Atom)