%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/
Upload File :
Create Path :
Current File : //proc/self/root/opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_oldstr_wrap.pyo

�
�A�[c@s�dZddlmZddlZddlmZddlmZddlm	Z	ddl
mZmZm
Z
ejd�Zd	ejfd
��YZdS(u
For the ``future`` package.

Adds this import line:

    from past.builtins import str as oldstr

at the top and wraps any unadorned string literals 'abc' or explicit byte-string
literals b'abc' in oldstr() calls so the code has the same behaviour on Py3 as
on Py2.6/2.7.
i����(tunicode_literalsN(t
fixer_base(ttoken(tsyms(t
future_importttouch_import_toptwrap_in_fn_callu[^uUrR]?[\'\"]t
FixOldstrWrapcBseZeZdZd�ZRS(uSTRINGcCs|jtjkr{tdd|�tj|j�r{|j�}d|_d|j|_t	d|gd|j�}|SndS(Nu
past.typesuoldstruubtprefix(
ttypeRtSTRINGRt_literal_retmatchtvaluetcloneRR(tselftnodetresultstnewtwrapped((sR/opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_oldstr_wrap.pyt	transforms	(t__name__t
__module__tTruet
BM_compatibletPATTERNR(((sR/opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_oldstr_wrap.pyRs(t__doc__t
__future__Rtretlib2to3Rt
lib2to3.pgen2Rtlib2to3.fixer_utilRtlibfuturize.fixer_utilRRRtcompileRtBaseFixR(((sR/opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_oldstr_wrap.pyt<module>s

Zerion Mini Shell 1.0