관리-도구
편집 파일: fix_itertools.cpython-310.opt-2.pyc
o 6��f � @ s0 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|v r+|j dvr+|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 �B/opt/alt/python310/lib64/python3.10/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