관리-도구
편집 파일: fix_apply.cpython-33.pyo
� ��fm c @ so d Z d d l m Z d d l m Z d d l m Z d d l m Z m Z m Z Gd d � d e j � Z d S( uI Fixer for apply(). This converts apply(func, v, k) into (func)(*v, **k).i ( u pytree( u token( u fixer_base( u Callu Commau parenthesizec B s, | Ee Z d Z d Z d Z d d � Z d S( u FixApplyu. power< 'apply' trailer< '(' arglist< (not argument<NAME '=' any>) func=any ',' (not argument<NAME '=' any>) args=any [',' (not argument<NAME '=' any>) kwds=any] [','] > ')' > > c C sJ | j } | d } | d } | j d � } | j } | j � } | j t j | j f k r� | j | j k s� | j d j t j k r� t | � } n d | _ | j � } d | _ | d k r� | j � } d | _ n t j t j d � | g } | d k r7| j t � t j t j d � | g � d | d _ n t | | d | �S( Nu funcu argsu kwdsi u u *u **u u prefixi����i����( u symsu getu prefixu cloneu typeu tokenu NAMEu atomu poweru childrenu DOUBLESTARu parenthesizeu Noneu pytreeu Leafu STARu extendu Commau Call( u selfu nodeu resultsu symsu funcu argsu kwdsu prefixu l_newargs( ( u<