Your IP : 13.59.42.207


Current Path : /lib64/python2.7/lib2to3/fixes/
Upload File :
Current File : //lib64/python2.7/lib2to3/fixes/fix_unicode.pyc

�
�mec@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((s1/usr/lib64/python2.7/lib2to3/fixes/fix_unicode.pyt	transforms(t__name__t
__module__tTruet
BM_compatibletPATTERNR(((s1/usr/lib64/python2.7/lib2to3/fixes/fix_unicode.pyRs(t__doc__tretpgen2RtRRtcompileR	tBaseFixR(((s1/usr/lib64/python2.7/lib2to3/fixes/fix_unicode.pyt<module>s