관리-도구
편집 파일: fix_itertools.cpython-33.pyc
� ��f c @ sC d Z d d l m Z d d l m Z Gd d � d e j � Z d S( uT Fixer for itertools.(imap|ifilter|izip) --> (map|filter|zip) and itertools.ifilterfalse --> itertools.filterfalse (bugs 2360-2363) imports from itertools are fixed in fix_itertools_import.py If itertools is imported as something else (ie: import itertools as it; it.izip(spam, eggs)) method calls will not get fixed. i ( u fixer_base( u Namec B s? | Ee Z d Z d Z d Z d e � Z d Z d d � Z d S( u FixItertoolsu7 ('imap'|'ifilter'|'izip'|'izip_longest'|'ifilterfalse')u� power< it='itertools' trailer< dot='.' func=%(it_funcs)s > trailer< '(' [any] ')' > > | power< func=%(it_funcs)s trailer< '(' [any] ')' > > i c C s� d } | d d } d | k rt | j d k rt | d | d } } | j } | j � | j � | j j | � n | p� | j } | j t | j d d � d | �� d S( Nu funci u itu ifilterfalseu izip_longestu doti u prefix( u ifilterfalseu izip_longest( u Noneu valueu prefixu removeu parentu replaceu Name( u selfu nodeu resultsu prefixu funcu dotu it( ( u@ /opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_itertools.pyu transform s u FixItertools.transformNT( u __name__u __module__u __qualname__u Trueu BM_compatibleu it_funcsu localsu PATTERNu run_orderu transform( u __locals__( ( u@ /opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_itertools.pyu FixItertools s u FixItertoolsN( u __doc__u u fixer_baseu fixer_utilu Nameu BaseFixu FixItertools( ( ( u@ /opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_itertools.pyu <module> s