Spade
Mini Shell
| Directory:~$ /proc/self/root/usr/lib/python2.7/site-packages/libpasteurize/fixes/ |
| [Home] [System Details] [Kill Me] |
�
,�]c@shdZddlmZddlmZmZmZddlmZd�Z dej
fd��YZdS( u8
Fixer for "class Foo: ..." -> "class Foo(object):
..."
i����(t
fixer_base(tLParentRParentName(ttouch_import_topcCs@|j|t��|j|td��|j|t��dS(Nuobject(tinsert_childRRR(tnodetidx((sD/usr/lib/python2.7/site-packages/libpasteurize/fixes/fix_newstyle.pyt
insert_objectstFixNewstylecBseZdZd�ZRS(u0classdef<
'class' NAME ['(' ')'] colon=':'
any
>cCs�|d}|jj|�}|j|djdkrn|j|djdkrn|j|d|5|d8}nt||�tdd|�dS(Nucolonit(it)ubuiltinstobject(tchildrentindextvalueRR(tselfRtresultstcolonR((sD/usr/lib/python2.7/site-packages/libpasteurize/fixes/fix_newstyle.pyt transforms
(t__name__t
__module__tPATTERNR(((sD/usr/lib/python2.7/site-packages/libpasteurize/fixes/fix_newstyle.pyR sN(t__doc__tlib2to3Rtlib2to3.fixer_utilRRRtlibfuturize.fixer_utilRRtBaseFixR (((sD/usr/lib/python2.7/site-packages/libpasteurize/fixes/fix_newstyle.pyt<module>s