Your IP : 3.135.247.237


Current Path : /opt/alt/python311/lib64/python3.11/dbm/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/dbm/__pycache__/__init__.cpython-311.opt-2.pyc

�

c��f����	gd�ZddlZddlZddlZddlZGd�de��Zgd�ZdaiZ	ee
fZ	ddlmZn
#e
$rdZYnwxYwdd	�Zd
�Zedkr)ejdd�D]Zeee��pd
e���dSdS))�open�whichdb�error�Nc��eZdZdS)rN)�__name__�
__module__�__qualname__���3/opt/alt/python311/lib64/python3.11/dbm/__init__.pyrr&s�������Drr)�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���|dkrt
dd	���|tvr(t
dd
�|�����t|}|�|||��S)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rr5sR��	����	!�	!�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�&�
3�3c�0�	tj|��}	tj|dzd��}|���tj|dzd��}|���dS#t
$rs	tj|dzd��}|���t�+t
j|��}|���YdSn#t
$rYnwxYwYnwxYw	tj|dz��tj|dz��j}|dkrdStj|dzd��}	|�	d	��d
vr	|���dS	|���n#|���wxYwn#t
$rYnwxYw	tj|d��}n#t
$rYdSwxYw|5|�	d��}ddd��n#1swxYwY|dd�}t|��dkrd
S	tjd|��\}n#tj
$rYd
SwxYw|dvrdS	tjd|dd���\}n#tj
$rYd
SwxYwd
S)Ns.pag�rbs.dirrs.dbs.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rrbs5��
��{�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��AA1�1
C.�<AC�C.�
C(�%C.�'C(�(C.�-C.�29F$�-F$�F
�F$�5F$�
F � F$�$
F1�0F1�5G�
G�G�H�H�H�+I�I�I� J�J�J�__main__r&�UNKNOWN)rr)�__all__r.r,r5�sys�	Exceptionrrrrr0�dbmrrrrr�argvr7�printr
rr�<module>rFsH���:'�
&�
&��	�	�	�	�	�	�	�	�
�
�
�
�
�
�
�
�	�	�	�	�	�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�8�A�A

?>