[DB-SIG] Dictionaries Pass By Reference?
Danny Yoo
dyoo@hkn.eecs.berkeley.edu
Fri, 1 Nov 2002 00:23:13 -0800 (PST)
On Thu, 31 Oct 2002, Tom Rabaut wrote:
> I'm under the understanding that dictionaries are pass by reference in
> python, but it doesn't seem to be working for me. I'm declaring the
> dictionary in main then passing it to a function member of a module
> where it is populated, but when I attempted to use it, it is still empty
> in the main program.
Hi Tom,
You may want to ask your question on the Python-Tutor mailing list
instead; db-sig is more focused on relational database issues.
Python-tutor is a mailing list dedicated to help people learn more about
programming. If you're interested, you can find out more information
about Tutor here:
http://mail.python.org/mailman/listinfo/tutor
I hope this helps!