ok
Direktori : /opt/alt/python38/lib64/python3.8/lib2to3/fixes/__pycache__/ |
Current File : //opt/alt/python38/lib64/python3.8/lib2to3/fixes/__pycache__/fix_itertools.cpython-38.opt-2.pyc |
U .��c � @ 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