HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
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