σ οRec@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‹/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/chardet/__init__.pytdetects   N( tcompatRRtuniversaldetectorRtversionRRR(((s‹/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/chardet/__init__.pyts