Is 'everything' a refrence or isn't it?

Bryan Olson fakeaddress at nowhere.org
Thu Jan 5 00:21:24 EST 2006


Steven D'Aprano wrote:
> Mike Meyer wrote:
[...]
>> Correct. What's stored in a list is a reference.
> 
> Nonsense. What is stored in the list is an object.

According to the Python Language Reference:

     Some objects contain references to other objects; these are
     called containers. Examples of containers are tuples, lists
     and dictionaries.
     [http://docs.python.org/ref/objects.html]

-- 
--Bryan



More information about the Python-list mailing list