Dave Benjamin wrote:
I think you meant to write something like this:
def attrsetter(obj, name, value): def _return_func(): return setattr(obj, name, value) return _return_func
Sure did. Sorry. -- Michael Hoffman -- http://mail.python.org/mailman/listinfo/python-list