Pointers/References in Python?

Robert Latest boblatest at yahoo.com
Fri Aug 1 15:22:14 EDT 2008


Gary Herron wrote:
> No need.  A Python list contains *references* to objects, not copies of 
> objects.  (The same is true of variables, dictionaries, sets, and so 
> on...). 

Good to know. I just wanted to make sure before writing more code which in
the end might not scale well.

Thanks to all for the help!

robert



More information about the Python-list mailing list