I have a class, and would like to change an object of it (similar to the pop method of lists), without adding an foo = foo.bar()
foo = foo.bar()
In simpler terms, i\'d l