��Qc@srdZddlZddlmZddlmZidd6dd 6Zejd
�Zdej fd��YZ
dS(
sJFixer that changes unicode to str, unichr to chr, and u"..." into "...".
i�Ni(ttoken(t
fixer_baseuchruunichrustruunicodeu[uU][rR]?[\'\"]t
FixUnicodecBseZeZdZd�ZRS(sSTRING | 'unicode' | 'unichr'cCs}|jtjkr2|j�}t|j|_|S|jtjkrytj|j�ry|j�}|jd|_|SndS(Ni( ttypeRtNAMEtclonet_mappingtvaluetSTRINGt_literal_retmatch(tselftnodetresultstnew((s//sys/lib/python2.7/lib2to3/fixes/fix_unicode.pyt transforms(t__name__t
__module__tTruet
BM_compatibletPATTERNR(((s//sys/lib/python2.7/lib2to3/fixes/fix_unicode.pyRs(t__doc__tretpgen2RtRRtcompileR tBaseFixR(((s//sys/lib/python2.7/lib2to3/fixes/fix_unicode.pyt<module>s
|