A question on modification of a list via a function invocation

Antoon Pardon antoon.pardon at vub.be
Mon Sep 4 06:52:11 EDT 2017


Op 04-09-17 om 12:22 schreef Stefan Ram:
> Rustom Mody <rustompmody at gmail.com> writes:
>>> Stefan Ram wrote:
>>>> JavaScript and Python do not have references as values
>>> Yes, they do. The difference is that they don't have any
> ...
>> Its because reference (or pointer or ?) is central to python's semantics
>   If they are so central, then it should be easy to show
>   quotes from The Python Language Reference to support that
>   claim.

The section about assignment talks about reference counts.

-- 
Antoon Pardon




More information about the Python-list mailing list