/opt/alt/python311/lib64/python3.11/dbm/__pycache__
NameSizeModeActions
dumb.cpython-311.opt-1.pyc148220644editdlrm
dumb.cpython-311.opt-2.pyc135380644editdlrm
dumb.cpython-311.pyc148220644editdlrm
gnu.cpython-311.opt-1.pyc2500644editdlrm
gnu.cpython-311.opt-2.pyc1900644editdlrm
gnu.cpython-311.pyc2500644editdlrm
ndbm.cpython-311.opt-1.pyc2490644editdlrm
ndbm.cpython-311.opt-2.pyc1900644editdlrm
ndbm.cpython-311.pyc2490644editdlrm
__init__.cpython-311.opt-1.pyc69800644editdlrm
__init__.cpython-311.opt-2.pyc50500644editdlrm
__init__.cpython-311.pyc69800644editdlrm
Edit: /opt/alt/python311/lib64/python3.11/dbm/__pycache__/__init__.cpython-311.pyc (6980B)
§ »e`ã¢�¬ãó—dZgd¢ZddlZddlZddlZddlZGd„de¦«Zgd¢Zda iZ ee fZ ddl m Z n #e$rdZ YnwxYwdd „Zd „Zed kr)ejd d…D]Zeee¦«pde¦«ŒdSdS)aNGeneric interface to all dbm clones. Use import dbm d = dbm.open(file, 'w', 0o666) The returned object is a dbm.gnu, dbm.ndbm or dbm.dumb object, dependent on the type of database being opened (determined by the whichdb function) in the case of an existing dbm. If the dbm does not exist and the create or new flag ('c' or 'n') was specified, the dbm type will be determined by the availability of the modules (tested in the above order). It has the following interface (key and data are strings): d[key] = data # store data at key (may override data at # existing key) data = d[key] # retrieve data at key (raise KeyError if no # such key) del d[key] # delete data stored at key (raises KeyError # if no such key) flag = key in d # true if the key exists list = d.keys() # return a list of all existing keys (slow!) Future versions may change the order in which implementations are tested for existence, and add interfaces to other dbm-like implementations. )ÚopenÚwhichdbÚerroréNcó—eZdZdS)rN)Ú__name__Ú __module__Ú __qualname__©óú3/opt/alt/python311/lib64/python3.11/dbm/__init__.pyrr&s€€€€€Ø€Dr r)údbm.gnuúdbm.ndbmúdbm.dumb)ÚndbmÚré¶có&—t€_tD]9} t|dg¬¦«}n#t$rYŒ"wxYwts|a|t|<Œ:tstdtz¦«‚d|vrt |¦«nd}|€%d|vsd|vrt}nnt dd¦«‚|d krt dd ¦«‚|tvr(t dd  |¦«¦«‚t|}| |||¦«S) a¶Open or create database at path given by *file*. Optional argument *flag* can be 'r' (default) for read-only access, 'w' for read-write access of an existing database, 'c' for read-write access to a new or existing database, and 'n' for read-write access to a new database. Note: 'r' and 'w' fail if the database doesn't exist; 'c' creates it only if it doesn't exist; and 'n' always creates a new database. Nr)Úfromlistzno dbm clone found; tried %sÚnÚcrz=db file doesn't exist; use 'c' or 'n' flag to create a new dbÚzdb type could not be determinedz/db type is {0}, but the module is not available) Ú _defaultmodÚ_namesÚ __import__Ú ImportErrorÚ_modulesrrÚformatr)ÚfileÚflagÚmodeÚnameÚmodÚresults r rr5sM€õÐÝð !ð !ˆDð Ý  °°Ð9Ñ9Ô9��øÝð ð ð Ø�ð øøøåð "Ø!� Ø �H�T‰NˆNÝð GÝÐ<½vÑEÑFÔFÐ Fð"¨˜o˜o�W�T‰]Œ]ˆ]°4€FØ €~à �$ˆ;ˆ;˜# ˜+˜+åˆCˆC嘔(ðDñEôEð Eà �2Šˆå�AŒhÐ8Ñ9Ô9Ð9Ø •xÐ Ð Ý�AŒhð#ß#)¢6¨&¡>¤>ñ3ô3ð 3õ�vÔˆØ �8Š8�D˜$ Ñ %Ô %Ð%s ’%¥ 2±2có.—tj|¦«} tj|dzd¦«}| ¦«tj|dzd¦«}| ¦«dS#t $rs tj|dzd¦«}| ¦«t �+t j|¦«}| ¦«YdSn#t $rYnwxYwYnwxYw tj|dz¦«tj|dz¦«j}|dkrd Stj|dzd¦«} |  d ¦«d vr | ¦«d S | ¦«n#| ¦«wxYwn#t $rYnwxYw tj|d¦«}n#t $rYdSwxYw|5|  d ¦«}ddd¦«n #1swxYwY|dd …}t|¦«d krdS tj d|¦«\}n#tj $rYdSwxYw|dvrdS tj d|dd…¦«\}n#tj $rYdSwxYwdS)auGuess which db package to use to open a db file. Return values: - None if the database file can't be read; - empty string if the file can be read but can't be recognized - the name of the dbm submodule (e.g. "ndbm" or "gnu") if recognized. Importing the given module may still fail, and opening the database using that module may still fail. s.pagÚrbs.dirrs.dbNs.datrré)ó'ó"éérz=l)iΚWiÍšWiÏšWr éüÿÿÿ)ÚosÚfsencodeÚiorÚcloseÚOSErrorrÚstatÚst_sizeÚreadÚlenÚstructÚunpackr)ÚfilenameÚfÚdÚsizeÚs16ÚsÚmagics r rrbs0€õŒ{˜8Ñ$Ô$€HðÝ ŒG�H˜wÑ&¨Ñ -Ô -ˆØ �Љ Œ ˆ Ý ŒG�H˜wÑ&¨Ñ -Ô -ˆØ �Љ Œ ˆ ؈zøÝ ðððð Ý”˜ 6Ñ)¨4Ñ0Ô0ˆAØ �GŠG‰IŒIˆIõÐÝ”I˜hÑ'Ô'�Ø—’‘ ” � Ø!�z�zð øõð ð ð Ø ˆDð øøøøøðøøøð" å Œ�˜7Ñ"Ñ#Ô#Ð#ÝŒw�x 'Ñ)Ñ*Ô*Ô2ˆà �1Š9ˆ9Ø�:Ý ŒG�H˜wÑ&¨Ñ -Ô -ˆð Ø�vŠv�a‰yŒy˜LÐ(Ð(Ø!à �GŠG‰IŒIˆIˆIˆIð)ð �GŠG‰IŒIˆIˆIøˆA�GŠG‰IŒIˆIˆIøøøˆIøÝ ð ð ð Ø ˆð øøøðÝ ŒG�H˜dÑ #Ô #ˆˆøÝ ððð؈tˆtðøøøð ððà�fŠf�R‰jŒjˆðððñôððððððøøøððððð ˆAˆaˆCŒ€Aõ ˆ1�v„v�‚{€{؈rðÝ”=  qÑ)Ô)‰ˆˆøÝ Œ<ððð؈rˆrðøøøð Ð4Ð4Ð4؈yðÝ”=  s¨2¨3¨3¤xÑ0Ô0‰ˆˆøÝ Œ<ððð؈rˆrðøøøð ˆ2sµ–AA0Á0 C-Á;ACÃC-à C'Ã$C-Ã&C'Ã'C-Ã,C-Ã19F#Ä,F#ÅF ÅF#Å4F#Æ FÆF#Æ# F0Æ/F0Æ4G Ç GÇGÇG?Ç?HÈHÈ*IÉIÉIÉI?É?JÊJÚ__main__r&ÚUNKNOWN)rr)Ú__doc__Ú__all__r.r,r5ÚsysÚ Exceptionrrrrr0ÚdbmrrrrrÚargvr7Úprintr r r úrGsMðððð: 'Ð &Ð &€à € € € Ø € € € Ø € € € Ø € € € ð ð ð ð ð ˆIñ ô ð ð -Ð ,Ð ,€Ø€ Ø €à �ЀðØÐÐÐÐÐÐøØðððØ €D€D€Dðøøøð*&ð*&ð*&ð*&ðZWðWðWðt ˆzÒÐØ”H˜Q˜R˜R”Lð8ð8ˆØ ˆˆgˆg�hÑÔÐ, 9¨hÑ7Ô7Ð7Ð7ðÐð8ð8s²9¹AÁA