def _maybe_reraise_parent_error(self):
    for node in reversed(list(self._parents())):
        node.maybe_reraise()
def _maybe_reraise_parent_error(self):
    for node in reversed(list(self._parents())):
        node.maybe_reraise()