#NEWLINE# def __init__( self , default_factory = None , * a , **kw ) : #NEWLINE# #INDENT# if ( ( default_factory is not None ) and ( not hasattr ( default_factory , '__call__' ) ) ) : #NEWLINE# #INDENT# raise TypeError ( 'first argument must be callable' ) #NEWLINE# #UNINDENT# dict . __init__ ( self , * a , ** kw ) #NEWLINE# self . default_factory = default_factory