#NEWLINE# def __missing__( self , key ) : #NEWLINE# #INDENT# if ( self . default_factory is None ) : #NEWLINE# #INDENT# raise KeyError ( value ) #NEWLINE# #UNINDENT# self [ key ] = value = self . default_factory ( ) #NEWLINE# return value