#NEWLINE# def visit_Getitem( self , node , frame ) : #NEWLINE# #INDENT# if isinstance ( node . arg , nodes . Slice ) : #NEWLINE# #INDENT# self . visit ( node . node , frame ) #NEWLINE# self . write ( '[' ) #NEWLINE# self . visit ( node . arg , frame ) #NEWLINE# self . write ( ']' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . write ( 'environment.getitem(' ) #NEWLINE# self . visit ( node . node , frame ) #NEWLINE# self . write ( ', ' ) #NEWLINE# self . visit ( node . arg , frame ) #NEWLINE# self . write ( ')' )