HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/libfuturize/fixes/__pycache__/fix_future_builtins.cpython-310.pyc
o

,�]��@szdZddlmZddlmZddlmZddlm	Z	m
Z
mZddlm
Z
d��Zd�d	d
�eD��ZGdd�dej�Zd
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�|cCsg|]}d�|��qS)z
name='{0}')�format)�.0�name�r
�G/usr/lib/python3/dist-packages/libfuturize/fixes/fix_future_builtins.py�
<listcomp>$src@s&eZdZdZdZd�e�Zdd�ZdS)�FixFutureBuiltinsT�z�
              power<
                 ({0}) trailer< '(' [arglist=any] ')' >
              rest=any* >
              |
              power<
                  'map' trailer< '(' [arglist=any] ')' >
              >
              cCs|d}td|j|�dS)Nr�builtins)r�value)�self�node�resultsrr
r
r�	transform8szFixFutureBuiltins.transformN)	�__name__�
__module__�__qualname__�
BM_compatible�	run_orderr
�
expression�PATTERNrr
r
r
rr's�
rN)�__doc__�
__future__r�lib2to3r�lib2to3.pygramr�syms�lib2to3.fixer_utilrrr�libfuturize.fixer_utilr�split�replaced_builtin_fns�joinr�BaseFixrr
r
r
r�<module>s�