bgdZddlmZddlZddlmZddlmZddlm Z ddl m Z m Z m Z ejdZGd d ejZdS) a 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. )unicode_literalsN) fixer_base)token)syms) future_importtouch_import_topwrap_in_fn_callz[^uUrR]?[\'\"]ceZdZdZdZdZdS) FixOldstrWrapTSTRINGc|jtjkrttdd|t|jrF|}d|_d|jz|_td|g|j}|SdSdS)Nz past.typesoldstrb)prefix) typerr r _literal_rematchvalueclonerr )selfnoderesultsnewwrappeds r/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/libfuturize/fixes/fix_oldstr_wrap.py transformzFixOldstrWrap.transforms 9 $ $ ]It < < <  ,, jjll!  39, )(SE$+NNN % $  N)__name__ __module__ __qualname__ BM_compatiblePATTERNrrrr r s-MG     rr )__doc__ __future__rrelib2to3r lib2to3.pgen2rlib2to3.fixer_utilrlibfuturize.fixer_utilrrr compilerBaseFixr r$rrr.s  (''''' ######5555555555bj*++ J&r