#NEWLINE# def __init__( self , field , name , value , all_errors ) : #NEWLINE# #INDENT# Widget . __init__ ( self , field , name , value , all_errors ) #NEWLINE# self . choices = [ ] #NEWLINE# self . _subwidgets = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for ( value , label ) in _iter_choices ( self . _field . choices ) : #NEWLINE# #INDENT# widget = self . subwidget ( self , value , label ) #NEWLINE# self . choices . append ( widget ) #NEWLINE# self . _subwidgets [ value ] = widget