£Á°èZ¨Ä…–K§‚«“ô4“ÒÙ´dîfUÙÃÅ WKbyÊ¦•êŽ…È®FÒ¿ÊÎóCozá¬S@6{Í:›œêZÌ:Š•_%:¢¾¾~;‘Ã~èŠ©ÊÇí`ÔÑ©úë™µ'5I¿fš×WO%ø9¾«¾DK|€ùÍD”Ýs]nHÕ¶ê×Ó¼ãžªéUWŸÈË%DÒÕ¬ï‘]/Åcx  ‰ï2ß]ä6G[]S£ÔÏ¯rs{úëóµmÒï#UQxo·õÞCe]"±/aÙ&Eã4ú9Jé_ÞåëdãöKë)AÞ                  ¯¹ægƒÛowÐø^d™ý½ßB7áyMä9ÜÖUã
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<html>
B
    A[w                 @   sJ   d Z ddlmZmZ ddlmZ ddlmZmZm	Z	 G dd dej
ZdS )a  Fixer for 'raise E, V'

From Armin Ronacher's ``python-modernize``.

raise         -> raise
raise E       -> raise E
raise E, V    -> raise E(V)

raise (((E, E'), E''), E'''), V -> raise E(V)


CAVEATS:
1) "raise E, V" will be incorrectly translated if V is an exception
   instance. The correct Python 3 idiom is

        raise E from V

   but since we can't detect instance-hood by syntax alone and since
   any client code would have to be changed as well, we don't automate
   this.
    )pytree
fixer_base)token)NameCallis_tuplec               @   s   e Zd ZdZdZdd ZdS )FixRaiseTz5
    raise_stmt< 'raise' exc=any [',' val=any] >
    c       	      C   s   | j }|d  }|jtjkr2d}| || d S t|rbx t|rZ|jd jd  }q<W d|_d|krt	
|jtd|g}|j|_|S |d  }t|rdd	 |jdd
 D }nd|_|g}t	j
|jtdt||g|jdS )Nexcz+Python 3 does not support string exceptions   r    valraisec             S   s   g | ]}|  qS  )clone).0cr   r   L/opt/alt/python37/lib/python3.7/site-packages/libfuturize/fixes/fix_raise.py
<listcomp>B   s    z&FixRaise.transform.<locals>.<listcomp> )prefix)symsr   typer   STRINGZcannot_convertr   Zchildrenr   r   ZNodeZ
raise_stmtr   r   )	selfZnodeZresultsr   r	   msgnewr   argsr   r   r   	transform$   s,    
zFixRaise.transformN)__name__
__module____qualname__ZBM_compatibleZPATTERNr   r   r   r   r   r      s   r   N)__doc__Zlib2to3r   r   Zlib2to3.pgen2r   Zlib2to3.fixer_utilr   r   r   ZBaseFixr   r   r   r   r   <module>   s   