Steven D'Aprano <[email protected]>: >> On 2015-06-04, Marko Rauhamaa <[email protected]> wrote: >>> If it prints 1, it's pass by value. If it prints 3, it's pass by >>> reference. > > Wrong. Why do you [Marko] imagine that pass-by-value and > pass-by-reference are the only two options?
It's a classic dichotomy. The example I provided illustrates the distinction between the two. Marko -- https://mail.python.org/mailman/listinfo/python-list
