#NEWLINE# def setdefault( self , key , default = None ) : #NEWLINE# #INDENT# '\n        If key in odict, return value at key\n        Otherwise set value at key to default and return default\n        ' #NEWLINE# value = dict . setdefault ( self , key , default ) #NEWLINE# if ( key not in self . _keys ) : #NEWLINE# #INDENT# self . _keys . append ( key ) #NEWLINE# #UNINDENT# return value