JV]RdZddlmZddlmZdddZGddejZd S) atFixer that changes unicode to str and unichr to chr, but -- unlike the lib2to3 fix_unicode.py fixer, does not change u"..." into "...". The reason is that Py3.3+ supports the u"..." string prefix, and, if present, the prefix may provide useful information for disambiguating between byte strings and unicode strings, which is often the hardest part of the porting task. )token) fixer_basechrstr)unichrunicodeceZdZdZdZdZdS)FixUnicodeKeepUTz'unicode' | 'unichr'c|jtjkr-|}t|j|_|SdS)N)typerNAMEclone_mappingvalue)selfnoderesultsnews v/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/libfuturize/fixes/fix_unicode_keep_u.py transformzFixUnicodeKeepU.transforms9 9 " "**,,C ,CIJ # "N)__name__ __module__ __qualname__ BM_compatiblePATTERNrrrr r s-M$Grr N)__doc__ lib2to3.pgen2rlib2to3rrBaseFixr rrrr"sy V 4 4j(r