Your IP : 18.188.114.150
U
i�f � @ s. d dl mZ d dlmZ G dd� dej�ZdS )� )�
fixer_base)�Namec @ s* e Zd ZdZdZde� ZdZdd� ZdS )�FixItertoolsTz7('imap'|'ifilter'|'izip'|'izip_longest'|'ifilterfalse')z�
power< it='itertools'
trailer<
dot='.' func=%(it_funcs)s > trailer< '(' [any] ')' > >
|
power< func=%(it_funcs)s trailer< '(' [any] ')' > >
� c C s� d }|d d }d|krV|j dkrV|d |d }}|j}|�� |�� |j�|� |p^|j}|�t|j dd � |d�� d S )N�func� �it)ZifilterfalseZizip_longest�dot� )�prefix)�valuer �remove�parent�replacer )�selfZnodeZresultsr r r r � r �@/opt/alt/python38/lib64/python3.8/lib2to3/fixes/fix_itertools.py� transform s �
zFixItertools.transformN) �__name__�
__module__�__qualname__Z
BM_compatibleZit_funcs�localsZPATTERNZ run_orderr r r r r r s � r N)� r Z
fixer_utilr ZBaseFixr r r r r �<module> s