def __init__ ( self, trait = None, minlen = 0, maxlen = sys.maxint,
                         has_items = True ):
        self.item_trait = trait_from( trait )
        self.minlen     = max( 0, minlen )
        self.maxlen     = max( minlen, maxlen )
        self.has_items  = has_items
Creates a TraitList handler.
dataset/ETHPy150Open enthought/traits/traits/trait_handlers.py/TraitList.__init__