Your IP : 3.145.37.211


Current Path : /opt/alt/python33/lib64/python3.3/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/lib2to3/fixes/__pycache__/fix_itertools_imports.cpython-33.pyo

�
��f&c@sOdZddlmZddlmZmZmZGdd�dej�ZdS(uA Fixer for imports of itertools.(imap|ifilter|izip|ifilterfalse) i(u
fixer_base(u	BlankLineusymsutokencBs3|EeZdZdZde�Zdd�ZdS(uFixItertoolsImportsuT
              import_from< 'from' 'itertools' 'import' imports=any >
              cCs�|d}|jtjks&|jr2|g}n	|j}x�|ddd�D]�}|jtjkry|j}|}n#|jtjkr�dS|jd}|j}|dkr�d|_|j	�qO|dkrO|j
�|d	d
kr�dnd|_qOqOW|jdd�p|g}d}	x=|D]5}|	rW|jtjkrW|j	�q,|	dN}	q,Wx0|r�|djtjkr�|j
�j	�qhW|jp�t|d
d�s�|jdkr�|j}
t�}|
|_|SdS(Nuimportsiiuimapuizipuifilteruifilterfalseuizip_longestiufufilterfalseuzip_longestuvalue(uimapuizipuifilter(uifilterfalseuizip_longestTi����(utypeusymsuimport_as_nameuchildrenutokenuNAMEuvalueuSTARuNoneuremoveuchangeduTrueuCOMMAupopugetattruparentuprefixu	BlankLine(uselfunodeuresultsuimportsuchildrenuchildumemberu	name_nodeumember_nameuremove_commaup((uH/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_itertools_imports.pyu	transformsB
			
		



			uFixItertoolsImports.transformNT(u__name__u
__module__u__qualname__uTrueu
BM_compatibleulocalsuPATTERNu	transform(u
__locals__((uH/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_itertools_imports.pyuFixItertoolsImportss
uFixItertoolsImportsN(	u__doc__ulib2to3u
fixer_baseulib2to3.fixer_utilu	BlankLineusymsutokenuBaseFixuFixItertoolsImports(((uH/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_itertools_imports.pyu<module>s

?>