Your IP : 3.142.130.127


Current Path : /opt/alt/python312/lib64/python3.12/dbm/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/dbm/__pycache__/__init__.cpython-312.opt-2.pyc

�

�Q�f�����	gd�ZddlZddlZddlZddlZGd�de�Zgd�ZdaiZ	ee
fZ	ddlmZdd�Zd�Zed	k(r(ej"d
dD]Zeee�xsde��yy#e
$rdZY�>wxYw)
)�open�whichdb�error�Nc��eZdZy)rN)�__name__�
__module__�__qualname__���3/opt/alt/python312/lib64/python3.12/dbm/__init__.pyrr&s��rr)�dbm.gnu�dbm.ndbm�dbm.dumb)�ndbmc��	t�CtD]"}	t|dg��}ts|a|t|<�$tstdtz��d|vrt|�nd}|�d|vsd|vrt}nOt
dd��|dk(rt
dd	��|tvrt
dd
j|���t|}|j|||�S#t$rY��wxYw)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rr5s	��	����D�
� ����9���!�� �H�T�N����<�v�E�F�F�"��o�W�T�]�4�F�
�~��$�;�#��+��C���(�D�E�
E�	�2���A�h�8�9�9�	�x�	��A�h�#�#)�6�&�>�3�	3��v����8�8�D�$��%�%��5�
��
�s�C�	C�Cc���	tj|�}	tj|dzd�}|j	�tj|dzd�}|j	�y#t
$rj	tj|dzd�}|j	�t�'t
j|�}|j	�Yyn#t
$rYnwxYwYnwxYw	tj|dz�tj|dz�j}|dk(rytj|dzd�}	|jd	�d
vr	|j	�y	|j	�n#|j	�wxYwn#t
$rYnwxYw	tj|d�}n#t
$rYywxYw|5|jd�}ddd�n#1swYnxYwdd}t|�dk7ry
	tjd|�\}n#tj$rYy
wxYw|dvry	tjd|dd�\}y
#tj$rYy
wxYw)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rrbs:��
��{�{�8�$�H���G�G�H�w�&��-��	���	��G�G�H�w�&��-��	���	�����	�����6�)�4�0�A�
�G�G�I����I�I�h�'�����	�!� ���	��	����"
�
����7�"�#��w�w�x�'�)�*�2�2���1�9���G�G�H�w�&��-��	��v�v�a�y�L�(�!�
�G�G�I�)�
�G�G�I��A�G�G�I��I���
��
����G�G�H�d�#��������
��f�f�R�j��
����	�A�a��A��1�v��{����=�=��q�)�����<�<�����
�4�4����=�=��s�2�3�x�0���
��	�<�<����s��AA+�+	C�5AC�C�	C�C�C�C�C�"?F	�"F	�<E3�F	�"F	�3F�F	�		F�F�F0�0	F<�;F<�G�G%�=H�H,�+H,�5I�I'�&I'�__main__r$�UNKNOWN)�ri�)�__all__r,r*r3�sys�	Exceptionrrrrr.�dbmrrrrr�argvr5�printr
rr�<module>rEs����:'��	�	�
�
�	�I�	�
-����
��	������
*&�ZW�t�z���H�H�Q�R�L��
�g�h��,�9�h�7�!���W���D��s�A)�)A3�2A3

?>