A while ago I posted a suggestion for how to eliminate some mindless code in python __init__() methods when you want to assign instance attributes from __init__() args.
Henry Crutcher postedhis own solution on Thursday in the Python Cookbook.
I've combined the two approaches in a comment to that post (on the same page). I think it's getting to be a good solution.
Comments