Module Expr Str ImportFrom alias ImportFrom alias alias alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index BinOpSub NameLoad Num attr Str CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index BinOpSub NameLoad Num attr Str body Delete SubscriptDel AttributeLoad NameLoad attr Slice BinOpSub NameLoad Num NameLoad AugAssignSub NameStore Num Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad Str Str NameLoad decorator_list decorator_list
N/A N/A 
Fixer for "class Foo: ..." -> "class Foo(object): ..."
 lib2to3 fixer_base lib2to3.fixer_util LParen RParen Name libfuturize.fixer_util touch_import_top insert_object N/A N/A node idx N/A N/A N/A N/A N/A node insert_child idx N/A RParen N/A N/A N/A node insert_child idx N/A Name object N/A N/A N/A node insert_child idx N/A LParen N/A FixNewstyle N/A N/A fixer_base BaseFix N/A N/A PATTERN classdef< 'class' NAME ['(' ')'] colon=':' any > transform N/A N/A self node results N/A N/A N/A colon N/A results N/A colon N/A idx N/A N/A N/A node children index colon N/A N/A N/A N/A N/A N/A node children N/A N/A idx 2 value ( N/A N/A N/A N/A node children N/A N/A idx 1 value ) N/A N/A N/A N/A node children N/A N/A idx 2 idx N/A idx 2 N/A N/A insert_object node idx N/A N/A touch_import_top builtins object node N/A N/A