function call questions

chenyong20000 at gmail.com chenyong20000 at gmail.com
Tue Oct 18 22:15:12 EDT 2016


Thanks Peter and Anssi for your kind help. Now I'm ok with the first question. But the second question still confused me. Why "it seems that 
after root = root.setdefault(ch,{}) tree['a'] and root are the same 
object" and follows tree['a']['b']? Thanks.



More information about the Python-list mailing list