maintain_attrs

PlasmaCalcs.tools.oop_tools.manage_attrs.maintain_attrs(*attrs)

return decorator which restores attrs of obj after running function.

It is assumed that obj is the first arg of function.