def save_partial ( self , obj ) : self . save_reduce ( _genpartial , ( obj . func , obj . args , obj . keywords ) )
python how to change partial object to function
Partial objects do not serialize correctly in python2 . x -- this fixes the bugs
def save_partial(self, obj):
        """Partial objects do not serialize correctly in python2.x -- this fixes the bugs"""
        self.save_reduce(_genpartial, (obj.func, obj.args, obj.keywords))