D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib
/
python3
/
dist-packages
/
netaddr
/
__pycache__
/
Filename :
compat.cpython-312.pyc
back
Copy
� ���^� � �j � d Z ddlZej d dk( r4ej ZeZeZ d� Z d� Zd� Zd� Z d� Zd � Zd � Zd� Zd� Zd � ZeZd� ZnQej dd ddgkD r5ej. ZeefZeZ eZ d� Zd� Zd� Z d� Zd� Zd� Zd� Zd� Zd� ZeZd� Zn ed� � ddlmZ y# e$ r ddl ZY yw xY w)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 | t t dj � � f� S �N� )� isinstance�str�type�encoder s r r r s � � �1�s�D�����,=�&>�?� r c �"