5 SÌdZddlZddlmZmZereZejddZGdde Z Gddee Z dgZ dS) z An implementation of the basestring type for Python 3 Example use: >>> s = b'abc' >>> assert isinstance(s, basestring) >>> from past.types import str as oldstr >>> s2 = oldstr(b'abc') >>> assert isinstance(s2, basestring) N)with_metaclassPY2c$eZdZdZfdZxZS)BaseBaseStringc:t|ttfSN) isinstancebytesstr)clsinstances g/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/past/types/basestring.py__instancecheck__z BaseBaseString.__instancecheck__s(UCL111ctt||pt|tt fSr )superr__subclasscheck__ issubclassr r )r subclass __class__s rrz BaseBaseString.__subclasscheck__s8^S));;HEEkT\_dfi^jIkIkkr)__name__ __module__ __qualname__rr __classcell__)rs@rrrsP222lllllllllrrceZdZdZdS) basestringzC A minimal backport of the Python 2 basestring type to Py3 N)rrr__doc__rrrr srr) rsys past.utilsrrunicoder version_infovertyperr__all__rrrr's   ******** C rrlllllTlll// .r