def get_roots(self):
        "Return list of root nodes without parent."
        try:
            return self.childs[""]
        except KeyError:
            return []
Return list of root nodes without parent.
recipes/Python/576966_DnTree/recipe-576966.py