AlkantarClanX12

Your IP : 18.188.96.17


Current Path : /usr/lib64/python2.7/Demo/classes/
Upload File :
Current File : //usr/lib64/python2.7/Demo/classes/Dbm.pyc

�
��^c@s'ddd��YZd�Ze�dS(tDbmcBsPeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	RS(cCs(ddl}|j|||�|_dS(Ni����(tdbmtopentdb(tselftfilenametmodetpermR((s(/usr/lib64/python2.7/Demo/classes/Dbm.pyt__init__	scCsdd}xO|j�D]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|j�S(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|�<dS(N(R
R(RRtvalue((s(/usr/lib64/python2.7/Demo/classes/Dbm.pyt__setitem__scCs|jt|�=dS(N(RR
(RR((s(/usr/lib64/python2.7/Demo/classes/Dbm.pyt__delitem__scCs7g}x*|jj�D]}|jt|��qW|S(N(RRtappendR(RtresR((s(/usr/lib64/python2.7/Demo/classes/Dbm.pyR!scCs|jjt|��S(N(Rthas_keyR
(RR((s(/usr/lib64/python2.7/Demo/classes/Dbm.pyR's(
t__name__t
__module__RRRRRRRR(((s(/usr/lib64/python2.7/Demo/classes/Dbm.pyRs							cCs�tddd�}|GHx�yatd�}|j|�rN||}dG|GHntd�}|dkrp||=n
|||<Wqtk
r�dGH|GHqtk
r�dGHPqXqW|GHdS(	Ns@dbmtrwi�skey: s
currently:svalue: R	s[eof](RtinputRtNonetKeyboardInterrupttEOFError(tdRR((s(/usr/lib64/python2.7/Demo/classes/Dbm.pyttest+s&



	N((RR$(((s(/usr/lib64/python2.7/Demo/classes/Dbm.pyt<module>s$