(self, parent, block)
Create a new li and parse the block with it as the parent.
Create a new li and parse the block with it as the parent.
Create a new li and parse the block with it as the parent .
def create_item(self, parent, block):
        """ Create a new li and parse the block with it as the parent. """
        li = util.etree.SubElement(parent, 'li')
        self.parser.parseBlocks(li, [block])
def create_item ( self , parent , block ) : li = util . etree . SubElement ( parent , 'li' ) self . parser . parseBlocks ( li , [ block ] )