관리-도구
편집 파일: fix_ws_comma.cpython-311.opt-2.pyc
� c��fB � �R � d dl mZ d dlmZ d dl mZ G d� dej � � ZdS )� )�pytree)�token)� fixer_basec �| � e Zd ZdZdZ ej ej d� � Z ej ej d� � Z ee fZ d� ZdS )� FixWsCommaTzH any<(not(',') any)+ ',' ((not(',') any)+ ',')* [not(',') any]> �,�:c �� � |� � � }d}|j D ]H}|| j v r)|j }|� � � rd|vrd|_ d}�4|r|j }|sd|_ d}�I|S )NF� � T� )�clone�children�SEPS�prefix�isspace)�self�node�results�new�comma�childr s �A/opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_ws_comma.py� transformzFixWsComma.transform s� � ��j�j�l�l�����\� � �E��� �!�!�����>�>�#�#� &��F�(:�(:�#%�E�L����� +�"�\�F�!� +�'*������� � N)�__name__� __module__�__qualname__�explicit�PATTERNr �Leafr �COMMA�COLONr r � r r r r sd � � � � � ��H��G� �F�K���S�)�)�E��F�K���S�)�)�E��5�>�D�� � � � r r N)r r �pgen2r r �BaseFixr r$ r r �<module>r'