й¼]Bã@sMddlmZddlmZddlmZGdd„dejƒZdS)é)Úpytree)Útoken)Ú fixer_basec@s^eZdZdZdZejejdƒZejej dƒZ ee fZ dd„Z dS)Ú FixWsCommaTzH any<(not(',') any)+ ',' ((not(',') any)+ ',')* [not(',') any]> ú,ú:cCs�|jƒ}d}xw|jD]l}||jkrd|j}|jƒr[d|kr[d|_d}q|r‚|j}|s‚d|_d}qW|S)NFÚ ÚTú )ZcloneZchildrenÚSEPSÚprefixÚisspace)ÚselfZnodeÚresultsÚnewZcommaZchildr ©rú1/opt/alt/python35/lib64/python3.5/fix_ws_comma.pyÚ transforms       zFixWsComma.transformN) Ú__name__Ú __module__Ú __qualname__ZexplicitZPATTERNrZLeafrÚCOMMAÚCOLONr rrrrrr s  rN)r rZpgen2rrZBaseFixrrrrrÚs