#NEWLINE# def insertItem( self , item , value , index = None ) : #NEWLINE# #INDENT# if ( index is None ) : #NEWLINE# #INDENT# index = value #NEWLINE# value = None #NEWLINE# #UNINDENT# DOM . insertListItem ( self . getElement ( ) , item , value , index )