On Sat, 10 May 2014 01:34:58 +0300, Marko Rauhamaa wrote:

> Right, Python's variables aren't like variables in C. Rather, Python's
> variables are like CPU registers. They cannot hold typed or structured
> objects 

Surely you cannot mean that? It is *trivially simple* to disprove that 
statement:

py> x = [1, 2, 3]  # A structured object
py> type(x)  # that has a type
<class 'list'>


> and you can't pass references to them.

That at least you have got right.



-- 
Steven D'Aprano
http://import-that.dreamwidth.org/
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to