AlkantarClanX12

Your IP : 18.117.8.177


Current Path : /usr/lib/python2.7/site-packages/pip/_vendor/chardet/
Upload File :
Current File : //usr/lib/python2.7/site-packages/pip/_vendor/chardet/__init__.pyo

�
��abc@sIddlmZmZddlmZddlmZmZd�ZdS(i(tPY2tPY3(tUniversalDetector(t__version__tVERSIONcCskt|t�sKt|t�s<tdjt|����qKt|�}nt�}|j|�|j�S(s�
    Detect the encoding of the given byte string.

    :param byte_str:     The byte sequence to examine.
    :type byte_str:      ``bytes`` or ``bytearray``
    s4Expected object of type bytes or bytearray, got: {0}(	t
isinstancet	bytearraytbytest	TypeErrortformatttypeRtfeedtclose(tbyte_strtdetector((s@/usr/lib/python2.7/site-packages/pip/_vendor/chardet/__init__.pytdetects		
N(	tcompatRRtuniversaldetectorRtversionRRR(((s@/usr/lib/python2.7/site-packages/pip/_vendor/chardet/__init__.pyt<module>s