<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
B
    A[                 @   sp   d Z ddlmZ ddlZddlmZ ddlmZ ddlm	Z	 ddl
mZmZmZ edZG d	d
 d
ejZdS )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_importtouch_import_topwrap_in_fn_callz[^uUrR]?[\'\"]c               @   s   e Zd ZdZdZdd ZdS )FixOldstrWrapTSTRINGc             C   sX   |j tjkrTtdd| t|jrT| }d|_d|j |_t	d|g|jd}|S d S )Nz
past.typesZoldstr b)prefix)
typer   r
   r   _literal_rematchvaluecloner   r   )selfnoderesultsnewwrapped r   R/opt/alt/python37/lib/python3.7/site-packages/libfuturize/fixes/fix_oldstr_wrap.py	transform   s    zFixOldstrWrap.transformN)__name__
__module____qualname__ZBM_compatibleZPATTERNr   r   r   r   r   r	      s   r	   )__doc__
__future__r   reZlib2to3r   Zlib2to3.pgen2r   Zlib2to3.fixer_utilr   Zlibfuturize.fixer_utilr   r   r   compiler   ZBaseFixr	   r   r   r   r   <module>   s   
