
    4pf                         d 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 ddlmZ d                                Zd                    d	 eD                       Z G d
 dej                  ZdS )z
For the ``future`` package.

Adds this import line::

    from builtins import XYZ

for each of the functions XYZ that is used in the module.

Adds these imports after any other imports (in an initial block of them).
    )unicode_literals)
fixer_base)python_symbols)NameCallin_special_context)touch_import_topzsfilter map zip
                       ascii chr hex input next oct
                       bytes range str raw_input|c                 8    g | ]}d                      |          S )z
name='{0}')format).0names     e/var/www/html/nettyfy-visnx/env/lib/python3.11/site-packages/libfuturize/fixes/fix_future_builtins.py
<listcomp>r   $   s&    RRRT|**400RRR    c                   F    e Zd ZdZdZd                    e          Zd ZdS )FixFutureBuiltinsT   z
              power<
                 ({0}) trailer< '(' [arglist=any] ')' >
              rest=any* >
              |
              power<
                  'map' trailer< '(' [arglist=any] ')' >
              >
              c                 B    |d         }t          d|j        |           d S )Nr   builtins)r	   value)selfnoderesultsr   s       r   	transformzFixFutureBuiltins.transform8   s%    vdj$77777r   N)	__name__
__module____qualname__BM_compatible	run_orderr   
expressionPATTERNr    r   r   r   r   '   sF        MI
 &$$ 8 8 8 8 8r   r   N)__doc__
__future__r   lib2to3r   lib2to3.pygramr   symslib2to3.fixer_utilr   r   r   libfuturize.fixer_utilr	   splitreplaced_builtin_fnsjoinr!   BaseFixr   r#   r   r   <module>r/      s   
 
 ( ' ' ' ' '       1 1 1 1 1 1 = = = = = = = = = = 3 3 3 3 3 3449EGG  XXRR=QRRRSS
8 8 8 8 8
* 8 8 8 8 8r   