ok
Direktori : /lib64/python2.7/lib2to3/fixes/ |
Current File : //lib64/python2.7/lib2to3/fixes/fix_unicode.pyc |
� _цdc @ sr d Z d d l Z d d l m Z d d l m Z i d d 6d d 6Z e j d � Z d e j f d � � YZ d S( sJ Fixer that changes unicode to str, unichr to chr, and u"..." into "...". i����Ni ( t token( t fixer_baseu chru unichru stru unicodeu [uU][rR]?[\'\"]t FixUnicodec B s e Z e Z d Z d � Z RS( s STRING | 'unicode' | 'unichr'c C s} | j t j k r2 | j � } t | j | _ | S| j t j k ry t j | j � ry | j � } | j d | _ | Sn d S( Ni ( t typeR t NAMEt clonet _mappingt valuet STRINGt _literal_ret match( t selft nodet resultst new( ( s1 /usr/lib64/python2.7/lib2to3/fixes/fix_unicode.pyt transform s ( t __name__t __module__t Truet BM_compatiblet PATTERNR ( ( ( s1 /usr/lib64/python2.7/lib2to3/fixes/fix_unicode.pyR s ( t __doc__t ret pgen2R t R R t compileR t BaseFixR ( ( ( s1 /usr/lib64/python2.7/lib2to3/fixes/fix_unicode.pyt <module> s