Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : fdshops ( 1003)
PHP Version : 8.2.21
Disable Function : NONE
Directory :  /lib/python2.7/site-packages/libfuturize/fixes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/site-packages/libfuturize/fixes/fix_oldstr_wrap.pyc
�
,�]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((sE/usr/lib/python2.7/site-packages/libfuturize/fixes/fix_oldstr_wrap.pyt	transforms	(t__name__t
__module__tTruet
BM_compatibletPATTERNR(((sE/usr/lib/python2.7/site-packages/libfuturize/fixes/fix_oldstr_wrap.pyRs(t__doc__t
__future__Rtretlib2to3Rt
lib2to3.pgen2Rtlib2to3.fixer_utilRtlibfuturize.fixer_utilRRRtcompileRtBaseFixR(((sE/usr/lib/python2.7/site-packages/libfuturize/fixes/fix_oldstr_wrap.pyt<module>s

Spamworldpro Mini