File: //opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_future_builtins.pyc
�
�A�[c           @  s�   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 j �  Z d j g  e D] Z d	 j e � ^ q{ � Z d
 e j f d �  �  YZ d S(
   u�   
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).
i����(   t   unicode_literals(   t
   fixer_base(   t   python_symbols(   t   Namet   Callt   in_special_context(   t   touch_import_topus   filter map zip
                       ascii chr hex input next oct
                       bytes range str raw_inputu   |u
   name='{0}'t   FixFutureBuiltinsc           B  s,   e  Z e Z d  Z d j e � Z d �  Z RS(   i   u�   
              power<
                 ({0}) trailer< '(' [arglist=any] ')' >
              rest=any* >
              |
              power<
                  'map' trailer< '(' [arglist=any] ')' >
              >
              c         C  s!   | d } t  d | j | � d  S(   Nu   nameu   builtins(   R   t   value(   t   selft   nodet   resultst   name(    (    sV   /opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_future_builtins.pyt	   transform8   s    
(	   t   __name__t
   __module__t   Truet
   BM_compatiblet	   run_ordert   formatt
   expressiont   PATTERNR
   (    (    (    sV   /opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_future_builtins.pyR   '