#NEWLINE# def match( self , interp , block , typemap , calltypes ) : #NEWLINE# #INDENT# self . setitems = setitems = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . block = block #NEWLINE# for inst in block . find_insts ( ir . SetItem ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# const = interp . infer_constant ( calltypes . index ) #NEWLINE# #UNINDENT# except errors . ConstantInferenceError : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# setitems [ inst ] = const #NEWLINE# #UNINDENT# return ( len ( setitems ) > 0 )