def render_revisiondesc(self, revisiondesc):

        revisionDesc = Element("revisionDesc")

        if revisiondesc.changes is not None:
            for ch in revisiondesc.changes:
                change = SubElement(revisionDesc, "change")

                changeDate = SubElement(change, "changeDate")
                changeDate.text = ch['changedate']

                respName = SubElement(change, "respName")
                respName.text = ch['resp']

                item = SubElement(change, "item")
                item.text = ch['item']

        return revisionDesc
Apply python string formatting on an object:
dataset/ETHPy150Open cidles/graf-python/src/graf/io.py/StandoffHeaderRenderer.render_revisiondesc--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/appengine-flask-skeleton/lib/jinja2/filters.py/do_format