ó o”þfc@s[dZddlmZddlmZmZmZmZmZdej fd„ƒYZ dS(s…Fixer for callable(). This converts callable(obj) into isinstance(obj, collections.Callable), adding a collections import if needed.iÿÿÿÿ(t fixer_base(tCalltNametStringtAttrt touch_importt FixCallablecBs#eZeZdZdZd„ZRS(tpres power< 'callable' trailer< lpar='(' ( not(arglist | argument) any ','> ) rpar=')' > after=any* > cCss|d}tddd|ƒ|jƒtdƒg}|jttdƒtdƒƒƒttdƒ|d|jƒS(Ntfuncu collectionstnodeu, uCallableu isinstancetprefix( RtNonetcloneRtextendRRRR (tselfR tresultsRtargs((s2/usr/lib64/python2.7/lib2to3/fixes/fix_callable.pyt transforms  "(t__name__t __module__tTruet BM_compatibletordertPATTERNR(((s2/usr/lib64/python2.7/lib2to3/fixes/fix_callable.pyR s N( t__doc__tlib2to3Rtlib2to3.fixer_utilRRRRRtBaseFixR(((s2/usr/lib64/python2.7/lib2to3/fixes/fix_callable.pyts(