Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /lib/python3.6/site-packages/chardet/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3.6/site-packages/chardet/__pycache__/__init__.cpython-36.pyc
3

�t�X�@s8ddlmZmZddlmZddlmZmZdd�ZdS)�)�PY2�PY3)�UniversalDetector)�__version__�VERSIONcCsHt|t�s0t|t�s(tdjt|����nt|�}t�}|j|�|j�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�/usr/lib/python3.6/__init__.py�detects


rN)	�compatrrZuniversaldetectorr�versionrrrrrrr�<module>s

ZeroDay Forums Mini