‹“Reã@sLddlmZmZddlmZddlmZmZdd„ZdS)é)ÚPY2ÚPY3)ÚUniversalDetector)Ú __version__ÚVERSIONcCsht|tƒsHt|tƒs<tdjt|ƒƒƒ‚n t|ƒ}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ÚtyperÚfeedÚclose)Úbyte_strÚdetector©rú‹/builddir/build/BUILDROOT/alt-python35-pip-20.2.4-5.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/chardet/__init__.pyÚdetects    rN) ÚcompatrrÚuniversaldetectorrÚversionrrrrrrrÚs