#NEWLINE# @ classmethod #NEWLINE# def coerce( cls , key , value ) : #NEWLINE# #INDENT# 'Convert plain dictionaries to MutableDict.' #NEWLINE# if ( not isinstance ( value , MutableDict ) ) : #NEWLINE# #INDENT# if isinstance ( value , dict ) : #NEWLINE# #INDENT# return MutableDict ( value ) #NEWLINE# #UNINDENT# return Mutable . coerce ( key , value ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return value