f gdZddlZddlZddlZddlZGddeZgdZdaiZ ee fZ ddl m Z n #e $rdZ YnwxYwdd Zd Zed kr)ejd dD]Zeeepd edSdS))openwhichdberrorNceZdZdS)rN)__name__ __module__ __qualname__3/opt/alt/python311/lib64/python3.11/dbm/__init__.pyrr&sDr r)dbm.gnudbm.ndbmdbm.dumb)ndbmrc( t_tD]9} t|dg}n#t$rY"wxYwts|a|t|<:tstdtzd|vrt |nd}|%d|vsd|vrt}nnt dd|dkrt dd |tvr(t dd |t|}||||S) Nr)fromlistzno dbm clone found; tried %sncrz=db file doesn't exist; use 'c' or 'n' flag to create a new dbzdb type could not be determinedz/db type is {0}, but the module is not available) _defaultmod_names __import__ ImportError_modulesrrformatr)fileflagmodenamemodresults r rr5sR  ! !D  999     "!  HTNN G>33 3v 88D$ % %%s & 33c0 tj|} tj|dzd}|tj|dzd}|dS#t $rs tj|dzd}|t +t j|}|YdSn#t $rYnwxYwYnwxYw tj|dztj|dzj}|dkrdStj|dzd} | d d vr |dS |n#|wxYwn#t $rYnwxYw tj|d}n#t $rYdSwxYw|5| d }dddn #1swxYwY|dd }t|d krd S tj d|\}n#tj $rYd SwxYw|dvrdS tj d|dd\}n#tj $rYd SwxYwd S)Ns.pagrbs.dirrs.dbs.datrr)'"rz=l)iΚWi͚WiϚWr )osfsencodeiorcloseOSErrorrstatst_sizereadlenstructunpackr)filenamefdsizes16smagics r rrbs5 {8$$H GHw& - -  GHw& - -  z  6)400A GGIIIIh'' !zz     D "  7"###wx')**2 199: GHw& - - vvayyL((! GGIIIII) GGIIIIAGGIIIII       GHd # # tt ffRjj AaCA 1vv{{r=q)) <rr 444y=s233x00 <rr 2sAA11 C.rFsH: ' & &      I    - , ,   DDD*&*&*&*&ZWWWt zHQRRL88 ggh,9h777788s8AA