zmc
2023-12-22 9fdbf60165db0400c2e8e6be2dc6e88138ac719a
1
2
3
4
5
6
7
8
9
10
11
U
H=®dã@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ÚtyperÚfeedÚclose)Úbyte_strÚdetector©rúSD:\z\workplace\VsCode\pyvenv\venv\Lib\site-packages\pip/_vendor/chardet/__init__.pyÚdetects
 
ÿ
rN)    ÚcompatrrÚuniversaldetectorrÚversionrrrrrrrÚ<module>s