]B@sMddlmZddlmZddlmZGdddejZdS))pytree)token) fixer_basec@s^eZdZdZdZejejdZejej dZ ee fZ ddZ dS) FixWsCommaTzH any<(not(',') any)+ ',' ((not(',') any)+ ',')* [not(',') any]> ,:cCs|j}d}xw|jD]l}||jkrd|j}|jr[d|kr[d|_d}q|r|j}|sd|_d}qW|S)NF T )ZcloneZchildrenSEPSprefixisspace)selfZnoderesultsnewZcommaZchildr r1/opt/alt/python35/lib64/python3.5/fix_ws_comma.py transforms       zFixWsComma.transformN) __name__ __module__ __qualname__ZexplicitZPATTERNrZLeafrCOMMACOLONr rrrrrr s  rN)r rZpgen2rrZBaseFixrrrrrs