Finding the instance reference of an object
Aaron Brady
castironpi at gmail.com
Sun Nov 9 00:33:19 EST 2008
On Nov 8, 10:59 pm, Joe Strout <j... at strout.net> wrote:
> Of course, I've softened my position somewhat, since being shown that
> "call by sharing" is simply a term for call-by-value in the case where
> the values are object references. That clearly does apply to Python
> (as well as other OOP languages, where object references are
> involved), and as long as we can explain it as just a restricted form
> of call-by-value, I'm OK with that.
Humor me briefly. In 'x= [1, 2, 3]', do you think that the value of x
is a memory address?
More information about the Python-list
mailing list