File: //opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_unicode_keep_u.pyc
�
�A�[c @ sW d Z d d l m Z d d l m Z i d d 6d d 6Z d e j f d � � YZ d
S( st Fixer 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����( t token( t
fixer_baseu chru unichru stru unicodet FixUnicodeKeepUc B s e Z e Z d Z d � Z RS( s 'unicode' | 'unichr'c C s6 | j t j k r2 | j � } t | j | _ | Sd S( N( t typeR t NAMEt clonet _mappingt value( t selft nodet resultst new( ( sU /opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_unicode_keep_u.pyt transform s ( t __name__t
__module__t Truet
BM_compatiblet PATTERNR ( ( ( sU /opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_unicode_keep_u.pyR s N( t __doc__t
lib2to3.pgen2R t lib2to3R R t BaseFixR ( ( ( sU /opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_unicode_keep_u.pyt <module> s