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. -- https://mail.python.org/mailman/listinfo/python-list
- function call questions chenyong20000
- Re: function call questions Peter Otten
- Re: function call questions chenyong20000
- Re: function call questions Peter Otten
- Re: function call questions chenyong20000
- Re: function call questions MRAB
- Re: function call questions chenyong20000
- Re: function call questions Peter Otten
- Re: function call questions chenyong20000
- Re: function call questions Frank Millman
- Re: function call questions chenyong20000
- Re: function call questions Frank Millman
- Re: function call questions chenyong20000
- Re: function call questions Frank Millman
- Re: function call questions chenyong20000