???<!-- GIF89;a -->
123123123123
.....................................................................................................................................???<!-- GIF89;a -->
123123123123
.....................................................................................................................................3
bW!                 @   s   d dl Z d dlZd dlmZ e jdkr0eZeZneZeZe jdkrfeZ	e
ZefZeZdd Zdd Zn"eZ	eZefZeZdd Zd	d Zd
d ZdS )    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 ttt| tjdjt| }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
    )ZprecZrounding)r   lenstrlongdecimalZROUND_HALF_UPZcreate_decimal)Zwhatdr   r   r   round_py2_compat#   s
    

r   )r   )r   )sysr   r   version_infointr   rangeZxranger   Z	text_typebytesZbinary_typeZstring_typeschrZunichrr   r
   ZunicodeZ
basestringr   r   r   r   r   <module>   s*   


