#NEWLINE# def keys( self ) : #NEWLINE# #INDENT# 'Returns a list containing all the keys available as subviews\n        of the current views. This enumerates all the keys in *all*\n        dictionaries matching the current view, in contrast to\n        ``view.get(dict).keys()``, which gets all the keys for the\n        *first* dict matching the view. If the object for this view in\n        any source is not a dict, then a ConfigTypeError is raised. The\n        keys are ordered according to how they appear in each source.\n        ' #NEWLINE# keys = [ ] #NEWLINE# for ( dic , _ ) in self . resolve ( ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# cur_keys = dic . keys ( ) #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# raise ConfigTypeError ( '{0} must be a dict, not {1}' . format ( self . name , type ( dic ) . __name__ ) ) #NEWLINE# #UNINDENT# for key in cur_keys : #NEWLINE# #INDENT# if ( key not in keys ) : #NEWLINE# #INDENT# keys . append ( key ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return keys