code: def focus_parent(self):
          
          w, focuspos = self.get_focus()
          parent = self._tree.parent_position(focuspos)
          if parent is not None:
              self.set_focus(parent)
docs: move focus to parent node of currently focussed one