#NEWLINE# def get( self , key , default = None ) : #NEWLINE# #INDENT# 'Standard get semantics for all mapping types' #NEWLINE# try : #NEWLINE# #INDENT# if ( key is None ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# return self [ key ] #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# return default