Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /usr/lib64/python2.7/Demo/classes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/Demo/classes/Dbm.pyc
�
V
�Qc@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�dGHPqXq|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$	

ZeroDay Forums Mini