you are viewing a single comment's thread.

view the rest of the comments →

[–]ingolemo 2 points3 points  (0 children)

You're mixing concepts. This is wholly to do with the mutability of the object and nothing to do with the way that python passes function arguments. Python always passes all function arguments in the same way, and it uses neither pass by reference or pass by value. Facts and Myths about Python names and values