<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=US-ASCII">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY id=role_body style="FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Arial" 
bottomMargin=7 leftMargin=7 topMargin=7 rightMargin=7><FONT id=role_document 
face=Arial color=#000000 size=2>
<DIV>>>> from UserDict import UserDict<BR>>>> d = 
{1:2,3:4,5:6}<BR>>>> d1 = UserDict(d)<BR>>>> d1<BR>{1: 2, 3: 
4, 5: 6}<BR>>>> d1.data<BR>{1: 2, 3: 4, 5: 6}</DIV>
<DIV> </DIV>
<DIV>Here why both d1 and d1.data have the same values?As shown below,they're 
different types.</DIV>
<DIV> </DIV>
<DIV>>>> type(d1)<BR><type 'instance'><BR>>>> 
type(d1.data) <BR><type 'dict'></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Please help.Thanks!</DIV></FONT></BODY></HTML>