#NEWLINE# def _add_inserter( self ) : #NEWLINE# #INDENT# '\n        Add an ``_insert_x()`` method to the element class for this child\n        element.\n        ' #NEWLINE# def _insert_child( obj , child ) : #NEWLINE# #INDENT# obj . insert_element_before ( child , * self . _successors ) #NEWLINE# return child #NEWLINE# #UNINDENT# _insert_child . __doc__ = ( 'Return the passed ``<%s>`` element after inserting it as a child in the correct sequence.' % self . _nsptagname ) #NEWLINE# self . _add_to_class ( self . _insert_method_name , _insert_child )