

def lastChild(self, parent):
    ' Return the last child of an etree element. '
    if len(parent):
        return self[(- 1)]
    else:
        return None

dataset/ETHPy150Open darcyliu/storyboard/markdown/blockprocessors.py BlockProcessor.lastChild/VarMisuse@23/46 `parent`->`self`