#NEWLINE# def items( self ) : #NEWLINE# #INDENT# values = self . all_states ( ) #NEWLINE# result = [ ] #NEWLINE# for state in values : #NEWLINE# #INDENT# value = state . obj ( ) #NEWLINE# if ( value is not None ) : #NEWLINE# #INDENT# result . append ( ( state . key , value ) ) #NEWLINE# #UNINDENT# #UNINDENT# return result