Your IP : 3.139.86.53


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.pyc

�
��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|jtjks�t�|jd}|j}|dkr�d|_|j
�qO|dkrO|j�|d	d
krdnd|_qOqOW|jdd�p4|g}d}	x=|D]5}|	ro|jtj
kro|j
�qD|	dN}	qDWx0|r�|djtj
kr�|j�j
�q�W|jp�t|d
d�s�|jdkr�|j}
t�}|
|_|SdS(Nuimportsiiuimapuizipuifilteruifilterfalseuizip_longestiufufilterfalseuzip_longestuvalue(uimapuizipuifilter(uifilterfalseuizip_longestTi����(utypeusymsuimport_as_nameuchildrenutokenuNAMEuvalueuSTARuAssertionErroruNoneuremoveuchangeduTrueuCOMMAupopugetattruparentuprefixu	BlankLine(uselfunodeuresultsuimportsuchildrenuchildumemberu	name_nodeumember_nameuremove_commaup((uH/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_itertools_imports.pyu	transformsD
			
		



			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

?>