#NEWLINE# def _keys_to_typing( self , value ) : #NEWLINE# #INDENT# typing = [ ] #NEWLINE# for val in value : #NEWLINE# #INDENT# if isinstance ( val , Keys ) : #NEWLINE# #INDENT# typing . append ( val ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( val , int ) : #NEWLINE# #INDENT# val = str ( val ) #NEWLINE# for i in range ( len ( val ) ) : #NEWLINE# #INDENT# typing . append ( val [ i ] ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# for i in range ( len ( val ) ) : #NEWLINE# #INDENT# typing . append ( val [ i ] ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# return value