Steven D'Aprano <st...@pearwood.info>:

>> On 2015-06-04, Marko Rauhamaa <ma...@pacujo.net> 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

Reply via email to