AnonSec Shell
Server IP : 85.193.89.191  /  Your IP : 3.144.46.148
Web Server : Apache
System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : bitrix ( 600)
PHP Version : 8.1.27
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib64/python2.7/lib2to3/fixes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /usr/lib64/python2.7/lib2to3/fixes/fix_itertools_imports.pyc
�
ۜSec@sOdZddlmZddlmZmZmZdejfd��YZdS(sA Fixer for imports of itertools.(imap|ifilter|izip|ifilterfalse) i����(t
fixer_base(t	BlankLinetsymsttokentFixItertoolsImportscBs$eZeZde�Zd�ZRS(sT
              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|jp+|g}t}	x=|D]5}|	rf|jtj
krf|j
�q;|	tN}	q;Wx0|r�|d
jtj
kr�|j�j
�qwW|jp�t|dd�s�|jdkr�|j}
t�}|
|_|SdS(Ntimportsiiuimapuizipuifilteruifilterfalseuizip_longestiufufilterfalseuzip_longesti����tvalue(uimapuizipuifilter(uifilterfalseuizip_longest(ttypeRtimport_as_nametchildrenRtNAMERtSTARtAssertionErrortNonetremovetchangedtTruetCOMMAtpoptgetattrtparenttprefixR(tselftnodetresultsRR	tchildtmembert	name_nodetmember_nametremove_commatp((s;/usr/lib64/python2.7/lib2to3/fixes/fix_itertools_imports.pyt	transformsD
			
		



			(t__name__t
__module__Rt
BM_compatibletlocalstPATTERNR(((s;/usr/lib64/python2.7/lib2to3/fixes/fix_itertools_imports.pyRs
N(	t__doc__tlib2to3Rtlib2to3.fixer_utilRRRtBaseFixR(((s;/usr/lib64/python2.7/lib2to3/fixes/fix_itertools_imports.pyt<module>s

Anon7 - 2022
AnonSec Team