MINI MINI MANI MO

Path : /lib64/python3.6/lib2to3/fixes/__pycache__/
File Upload :
Current File : //lib64/python3.6/lib2to3/fixes/__pycache__/fix_ws_comma.cpython-36.pyc

3


 \Bã@s>dZddlmZddlmZddlmZGdd„dejƒZdS)z©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.

é)Úpytree)Útoken)Ú
fixer_basec@s@eZdZdZdZejejdƒZejej	dƒZ	ee	fZ
dd„ZdS)Ú
FixWsCommaTzH
    any<(not(',') any)+ ',' ((not(',') any)+ ',')* [not(',') any]>
    ú,ú:cCsd|jƒ}d}xR|jD]H}||jkrD|j}|jƒr>d|kr>d|_d}q|rX|j}|sXd|_d}qW|S)NFÚ
ÚTú )ZcloneZchildrenÚSEPSÚprefixÚisspace)ÚselfZnodeZresultsÚnewZcommaZchildr©rú2/usr/lib64/python3.6/lib2to3/fixes/fix_ws_comma.pyÚ	transforms
zFixWsComma.transformN)Ú__name__Ú
__module__Ú__qualname__ZexplicitZPATTERNrZLeafrÚCOMMAÚCOLONrrrrrrrsrN)Ú__doc__r	rZpgen2rrZBaseFixrrrrrÚ<module>s

OHA YOOOO