#NEWLINE# def get( self , key , default = None , index = ( - 1 ) ) : #NEWLINE# #INDENT# if ( ( key not in self . dict ) and ( default != KeyError ) ) : #NEWLINE# #INDENT# return [ self ] [ index ] #NEWLINE# #UNINDENT# return self . dict [ key ] [ index ]