#NEWLINE# def __getstate__( self ) : #NEWLINE# #INDENT# return { #NEWLINE# #INDENT# '_pickled_keymap' : dict ( ( ( key , index ) for ( key , ( processor , obj , index ) ) in self . _keymap . items ( ) if isinstance ( processor , ( util . string_types + util . int_types ) ) ) ) , #NEWLINE# 'keys' : self . keys , #NEWLINE# 'case_sensitive' : self . case_sensitive , #NEWLINE# #UNINDENT# }