| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.9/lib2to3/fixes/__pycache__/ |
Upload File : |
a
�iB � @ s: d dl mZ d dlmZ d dl mZ G dd� dej�ZdS )� )�pytree)�token)�
fixer_basec @ s@ e Zd ZdZdZe�ejd�Ze�ej d�Z ee fZ
dd� ZdS )�
FixWsCommaTzH
any<(not(',') any)+ ',' ((not(',') any)+ ',')* [not(',') any]>
�,�:c C s` |� � }d}|jD ]H}|| jv rB|j}|�� r<d|vr<d|_d}q|rV|j}|sVd|_d}q|S )NF�
� T� )ZcloneZchildren�SEPS�prefix�isspace)�selfZnode�results�newZcomma�childr � r �2/usr/lib64/python3.9/lib2to3/fixes/fix_ws_comma.py� transform s
zFixWsComma.transformN)�__name__�
__module__�__qualname__ZexplicitZPATTERNr ZLeafr �COMMA�COLONr r r r r r r s r N)r r Zpgen2r r ZBaseFixr r r r r �<module> s