HEX
Server: LiteSpeed
System: Linux standart9.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: karalev (5310)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_unicode_keep_u.pyc
�
�A�[c@sWdZddlmZddlmZidd6dd6Zdejfd	��YZd
S(stFixer 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.

i����(ttoken(t
fixer_baseuchruunichrustruunicodetFixUnicodeKeepUcBseZeZdZd�ZRS(s'unicode' | 'unichr'cCs6|jtjkr2|j�}t|j|_|SdS(N(ttypeRtNAMEtclonet_mappingtvalue(tselftnodetresultstnew((sU/opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_unicode_keep_u.pyt	transforms(t__name__t
__module__tTruet
BM_compatibletPATTERNR(((sU/opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_unicode_keep_u.pyRsN(t__doc__t
lib2to3.pgen2Rtlib2to3RRtBaseFixR(((sU/opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_unicode_keep_u.pyt<module>	s