V Qc@s'dddYZdZedS(tDbmcBsPeZdZdZdZdZdZdZdZdZ RS(cCs(ddl}|j||||_dS(Ni(tdbmtopentdb(tselftfilenametmodetpermR((s(/usr/lib64/python2.7/Demo/classes/Dbm.pyt__init__ s cCsdd}xO|jD]A}t|dt||}|rJd|}n||}qWd|dS(Nts: s, t{t}(tkeystrepr(Rtstkeytt((s(/usr/lib64/python2.7/Demo/classes/Dbm.pyt__repr__ s cCs t|jS(N(tlenR(R((s(/usr/lib64/python2.7/Demo/classes/Dbm.pyt__len__scCst|jt|S(N(tevalRR (RR((s(/usr/lib64/python2.7/Demo/classes/Dbm.pyt __getitem__scCst||jt|s$