Your IP : 3.145.83.149


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

�
��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

?>