%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/netaddr/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/netaddr/__pycache__/compat.cpython-312.pyc

�

���^���j�dZddlZejddk(r4ejZeZeZ	d�Z
d�Zd�Zd�Z
d�Zd	�Zd
�Zd�Zd�Zd
�ZeZd�ZnQejddddgkDr5ej.ZeefZeZ	eZ
d�Zd�Zd�Z
d�Zd�Zd�Zd�Zd�Zd�ZeZd�Zned��	ddlmZy#e$rddl ZYywxYw)z�
Compatibility wrappers providing uniform behaviour for Python code required to
run under both Python 2.x and 3.x.

All operations emulate 2.x behaviour where applicable.
�N�c��t|d�S)NzUTF-8)�bytes��xs �0/usr/lib/python3/dist-packages/netaddr/compat.py�<lambda>r	s
��E�!�W�-��c�T�t|ttdj��f�S�N�)�
isinstance�str�type�encoders rr	r	s��
�1�s�D�����,=�&>�?�r
c�"�t|t�S�N)r�intrs rr	r	s
��
�1�c�*�r
c��t|d�S)N�__call__)�hasattrrs rr	r	s
��'�!�Z�0�r
c�4�t|j��Sr)�list�keysrs rr	r	s��4�����>�r
c�4�t|j��Sr)r�itemsrs rr	r	 s��D�����O�r
c�"�|j�Sr�rrs rr	r	"s������r
c�<�dj�j|�Sr)r�join��argss r�_bytes_joinr#$s���r�y�y�{����&�&r
c�$�tt|��Sr)r�zipr!s r�_zipr&'s���C��J��r
c�*�tt|i|���Sr)r�range�r"�kwargss  r�_ranger+*s���E�4�*�6�*�+�+r
c��t|�Sr��nextrs r�
_iter_nextr//s���A�w�r
�c�"�t|t�Sr)r�
basestringrs rr	r	<s
��
�1�j�1�r
c�.�t|ttf�Sr)rr�longrs rr	r	>s��
�1�s�D�k�2�r
c��t|�Sr)�callablers rr	r	@s
��(�1�+�r
c�"�|j�Srrrs rr	r	Bs��1�6�6�8�r
c�"�|j�Sr)rrs rr	r	Ds��A�G�G�I�r
c�4�t|j��Sr)�iterrrs rr	r	Fs���Q�V�V�X��r
c� �dj|�Sr)r r!s rr#r#Hs���r�w�w��~�r
c��t|�Sr)r%r!s rr&r&Ks���D�z�r
c��t|i|��Sr)r(r)s  rr+r+Ns���d�%�f�%�%r
c�"�|j�Srr-rs rr/r/Ss
���v�v�x�r
zAthis module only supports Python 2.4.x or higher (including 3.x)!)�	resources)!�__doc__�sys�_sys�version_info�maxsize�_sys_maxintr�	_int_typer�	_str_type�_bytes_type�_is_str�_is_int�	_callable�
_dict_keys�_dict_items�_iter_dict_keysr#r&r+r(�_iter_ranger/�maxintr4r2�xrange�RuntimeError�	importlibr?�_importlib_resources�ImportError�importlib_resources�r
r�<module>rXs�������Q��1���,�,�K��I��I�-�K�?�G�*�G�0�I�)�J�+�K�(�O�'� �,��K��
���q���q�!�f�$��+�+�K��d��I��I��K�1�G�2�G�%�I�#�J�%�K�.�O���&��K���K�M�M�7�;���7�6�7�s�B&�&	B2�1B2

Zerion Mini Shell 1.0