a
XC?hB � @ s> d Z ddlmZ ddlmZ ddlmZ G dd� 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@ 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