ok
Direktori : /lib64/python3.6/lib2to3/fixes/__pycache__/ |
Current File : //lib64/python3.6/lib2to3/fixes/__pycache__/fix_itertools.cpython-36.opt-2.pyc |
3 \ � @ 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 d krV|d |d }}|j}|j� |j� |jj|� |p^|j}|jt|j dd � |d�� d S ) N�func� �it�ifilterfalse�izip_longest�dot� )�prefix)r r )�valuer �remove�parent�replacer )�selfZnodeZresultsr r r r � r �3/usr/lib64/python3.6/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