Python: Passing mutable(?) object to method - Stack Overflow
stackoverflow.com › questions › 19205921Oct 06, 2013 · Basically, I need to pass self.obj to the mult method and have it mutate self.obj so that when I call m.obj, I'll get [1,2,3,4,1,2,3,4,1,2,3,4] instead of [1,2,3,4]. I feel like this is just a matter of understanding how python passes objects as arguments to methods (like it's making a copy of the object, and instead I need to use a pointer ...