| Server IP : 185.143.234.238 / Your IP : 185.215.232.195 Web Server : Apache System : Linux 81-12-52-146.cprapid.com 4.18.0-553.76.1.lve.el8.x86_64 #1 SMP Wed Oct 1 16:05:07 UTC 2025 x86_64 User : noavaranesama ( 1039) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.6/site-packages/dns/__pycache__/ |
Upload File : |
3
�b�W! � @ s� d dl Z d dlZd dlmZ e jdkr0eZeZneZeZe jd
krfeZ e
ZefZe
Zdd� Zdd� Zn"eZ eZefZeZdd� Zd d� Zd
d� ZdS )� N)�Context� c C s | j � S )N)�decode)�x� r �/usr/lib/python3.6/_compat.py�maybe_decode s r c C s | j � S )N)�encode)r r r r �maybe_encode s r
c C s | S )Nr )r r r r r s c C s | S )Nr )r r r r r
s c C s, t ttt| ���tjd�jt| ��}t|�S )z�
Python 2 and Python 3 use different rounding strategies in round(). This
function ensures that results are python2/3 compatible and backward
compatible with previous py2 releases
:param what: float
:return: rounded long
)ZprecZrounding)r �len�str�long�decimalZ
ROUND_HALF_UPZcreate_decimal)Zwhat�dr r r �round_py2_compat# s
r )r )r )�sysr r �version_info�intr
�rangeZxranger Z text_type�bytesZbinary_typeZstring_types�chrZunichrr r
ZunicodeZ
basestringr r r r r �<module> s*