def get_node_parent(self, name):
if self._validate_node_name(name):<EOL><INDENT>raise RuntimeError("<STR_LIT>")<EOL><DEDENT>self._node_in_tree(name)<EOL>return self._db[self._db[name]["<STR_LIT>"]] if not self.is_root(name) else {}<EOL>
r"""
        Get the parent structure of a node.

        See :py:meth:`ptrie.Trie.get_node` for details about the structure

        :param name: Child node name
        :type  name: :ref:`NodeName`

        :rtype: dictionary

        :raises:
         * RuntimeError (Argument \`name\` is not valid)

         * RuntimeError (Node *[name]* not in tree)