관리-도구
편집 파일: fix_throw.cpython-33.pyc
� ��f. c @ s{ 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 m Z m Z Gd d � d e j � Z d S( u� Fixer for generator.throw(E, V, T). g.throw(E) -> g.throw(E) g.throw(E, V) -> g.throw(E(V)) g.throw(E, V, T) -> g.throw(E(V).with_traceback(T)) g.throw("foo"[, V[, T]]) will warn about string exceptions.i ( u pytree( u token( u fixer_base( u Nameu Callu ArgListu Attru is_tuplec B s, | Ee Z d Z d Z d Z d d � Z d S( u FixThrowu� power< any trailer< '.' 'throw' > trailer< '(' args=arglist< exc=any ',' val=any [',' tb=any] > ')' > > | power< any trailer< '.' 'throw' > trailer< '(' exc=any ')' > > c C sG | j } | d j � } | j t j k r? | j | d � d S| j d � } | d k r^ d S| j � } t | � r� d d � | j d d � D� } n d | _ | g } | d } d | k r-| d j � } d | _ t | | � } t | t d � � t | g � g } | j t j | j | � � n | j t | | � � d S( Nu excu+ Python 3 does not support string exceptionsu valc S s g | ] } | j � � q S( ( u clone( u .0u c( ( u<