ACC SHELL
Ñò
sÄMc @ sC d Z d d k l Z d d k l Z d e i f d YZ d S( s, Fixer that cleans up a tuple argument to isinstance after the tokens
in it were fixed. This is mainly used to remove double occurrences of
tokens as a leftover of the long -> int / unicode -> str conversion.
eg. isinstance(x, (int, long)) -> isinstance(x, (int, int))
-> isinstance(x, int)
i ( t
fixer_base( t tokent
FixIsinstancec B s e Z d Z d Z d Z RS( s
power<
'isinstance'
trailer< '(' arglist< any ',' atom< '('
args=testlist_gexp< any+ >
')' > > ')' >
>
i c C sb t } | d } | i } g } t | } x² | D]Ş \ } } | i t i j oW | i | j oG | t | d j o, | | d i t i j o | i q5 qß q5 | i
| | i t i j o | i | i q5 q5 W| o"