관리-도구
편집 파일: fix_throw.cpython-311.pyc
� �܋fC � �d � d Z ddlmZ ddlmZmZ ddlmZ ddlm Z G d� dej � � ZdS ) zAFixer for 'g.throw(E(V).with_traceback(T))' -> 'g.throw(E, V, T)'� )� fixer_base)�Node�Leaf)�token)�Commac � � e Zd ZdZd� ZdS )�FixThrowz� power< any trailer< '.' 'throw' > trailer< '(' args=power< exc=any trailer< '(' val=any* ')' > trailer< '.' 'with_traceback' > trailer< '(' trc=any ')' > > ')' > > c �p � | j }|d |d |d }}}|r|d nt t j d� � }dx|_ |_ |� � � t � � |� � � t � � |� � � g}|d }||_ d S )N�exc�val�trcr �None� �args)�symsr r �NAME�prefix�cloner �children) �self�node�resultsr r r r �kidsr s �n/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/libpasteurize/fixes/fix_throw.py� transformzFixThrow.transform s� � ��y�� ���'�&�/�7�6�?�#�S���:�c�!�f�f��e�j�'�!:�!:��"&�&�� �S�Z�� � ���U�W�W�c�i�i�k�k�5�7�7�C�I�I�K�K�H���w����� � � � N)�__name__� __module__�__qualname__�PATTERNr � r r r r s* � � � � � ��G�� � � � r r N)�__doc__�lib2to3r �lib2to3.pytreer r � lib2to3.pgen2r �lib2to3.fixer_utilr �BaseFixr r! r r �<module>r( s� �� H� H� � � � � � � %� %� %� %� %� %� %� %� � � � � � � $� $� $� $� $� $�� � � � �z�!� � � � � r