#NEWLINE# def pop( self , key , * default ) : #NEWLINE# #INDENT# '\n        Remove key and the associated item and return the associated value\n        If key not found return default if given otherwise raise KeyError\n        ' #NEWLINE# value = dict . pop ( self , key , * default ) #NEWLINE# if ( key in self . _keys ) : #NEWLINE# #INDENT# self . _keys . remove ( key ) #NEWLINE# #UNINDENT# return value