HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python3/dist-packages/chardet/__pycache__/__init__.cpython-38.pyc
U

�t�X�@s8ddlmZmZddlmZddlmZmZdd�ZdS)�)�PY2�PY3)�UniversalDetector)�__version__�VERSIONcCsHt|t�s0t|t�s(td�t|����nt|�}t�}|�|�|��S)z�
    Detect the encoding of the given byte string.

    :param byte_str:     The byte sequence to examine.
    :type byte_str:      ``bytes`` or ``bytearray``
    z4Expected object of type bytes or bytearray, got: {0})	�
isinstance�	bytearray�bytes�	TypeError�format�typerZfeed�close)Zbyte_strZdetector�r�2/usr/lib/python3/dist-packages/chardet/__init__.py�detects

�
rN)	�compatrrZuniversaldetectorr�versionrrrrrrr�<module>s