#NEWLINE# def intern_dict( dictionary ) : #NEWLINE# #INDENT# 'Takes a dictionary and interns well known keys and their values\n    ' #NEWLINE# return { KNOWN_KEYS . get ( key , key ) : _intern_known_values ( key , value ) for ( key , value ) in dictionary . items ( ) }