Your IP : 172.28.240.42


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

ó
—|_c@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//usr/lib/python2.7/lib2to3/fixes/fix_unicode.pyt	transforms(t__name__t
__module__tTruet
BM_compatibletPATTERNR(((s//usr/lib/python2.7/lib2to3/fixes/fix_unicode.pyRs(t__doc__tretpgen2RtRRtcompileR	tBaseFixR(((s//usr/lib/python2.7/lib2to3/fixes/fix_unicode.pyt<module>s