o ,º]ªã@szdZddlmZddlmZddlmZddlm Z m Z m Z ddl m Z d ¡Zd d d „eDƒ¡ZGd d „d ejƒZd S)zq Adds this import line: from builtins import XYZ for each of the functions XYZ that is used in the module. é)Úunicode_literals)Ú fixer_base)Úpython_symbols)ÚNameÚCallÚin_special_context)Útouch_import_topzƒfilter map zip ascii chr hex input next oct open round super bytes dict int range strú|cCsg|]}d |¡‘qS)z name='{0}')Úformat)Ú.0Úname©r úI/usr/lib/python3/dist-packages/libpasteurize/fixes/fix_future_builtins.pyÚ src@s&eZdZdZdZd e¡Zdd„ZdS)ÚFixFutureBuiltinsTé zs power< ({0}) trailer< '(' args=[any] ')' > rest=any* > cCs|d}td|j|ƒdS)Nr Úbuiltins)rÚvalue)ÚselfÚnodeÚresultsr r r rÚ transform+szFixFutureBuiltins.transformN) Ú__name__Ú __module__Ú __qualname__Ú BM_compatibleÚ run_orderr Ú expressionÚPATTERNrr r r rrsü rN)Ú__doc__Ú __future__rÚlib2to3rÚlib2to3.pygramrÚsymsÚlib2to3.fixer_utilrrrÚlibfuturize.fixer_utilrÚsplitÚreplaced_builtinsÚjoinrÚBaseFixrr r r rÚs    þ