#NEWLINE# def pop( self , key , default = __marker ) : #NEWLINE# #INDENT# 'od.pop(k[,d]) -> v, remove specified key and return the corresponding value.\n            If key is not found, d is returned if given, otherwise KeyError is raised.\n\n            ' #NEWLINE# if ( key in self ) : #NEWLINE# #INDENT# result = key [ key ] #NEWLINE# del self [ key ] #NEWLINE# return result #NEWLINE# #UNINDENT# if ( default is self . __marker ) : #NEWLINE# #INDENT# raise KeyError ( key ) #NEWLINE# #UNINDENT# return default