HEX
Server: Apache
System: Linux beluga.o2switch.net 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: sc3naki1272 (1113)
PHP: 8.3.33
Disabled: NONE
Upload Files
File: //opt/alt/python27/lib/python2.7/site-packages/libpasteurize/fixes/fix_newstyle.pyc
�
�A�[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(tinsert_childRRR(tnodetidx((sQ/opt/alt/python27/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((sQ/opt/alt/python27/lib/python2.7/site-packages/libpasteurize/fixes/fix_newstyle.pyt	transforms


(t__name__t
__module__tPATTERNR(((sQ/opt/alt/python27/lib/python2.7/site-packages/libpasteurize/fixes/fix_newstyle.pyR	sN(t__doc__tlib2to3Rtlib2to3.fixer_utilRRRtlibfuturize.fixer_utilRRtBaseFixR	(((sQ/opt/alt/python27/lib/python2.7/site-packages/libpasteurize/fixes/fix_newstyle.pyt<module>s