#NEWLINE# def __init__( self , l , containerType ) : #NEWLINE# #INDENT# '\n        @param l: The list of object which may contain some not yet referenced\n        objects.\n\n        @param containerType: A type of container objects (e.g., C{tuple} or\n            C{set}).\n        ' #NEWLINE# NotKnown . __init__ ( self ) #NEWLINE# self . containerType = containerType #NEWLINE# self . l = l #NEWLINE# self . locs = range ( len ( l ) ) #NEWLINE# for idx in xrange ( len ( l ) ) : #NEWLINE# #INDENT# if ( not isinstance ( l [ idx ] , NotKnown ) ) : #NEWLINE# #INDENT# self . locs . remove ( idx ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# l [ idx ] . addDependant ( self , idx ) #NEWLINE# #UNINDENT# #UNINDENT# if ( not self . locs ) : #NEWLINE# #INDENT# self . resolveDependants ( self . containerType ( self . l ) )