Example #1
0
    def root(self):
        """
        :returns: The root :py:class:`Node` of the tree.
        """

        c_node = SetTree.root(self)
        return Node(c_node) if c_node is not None else None
Example #2
0
 def root(self):
     """
     :returns: The root :py:class:`Node` of the tree.
     """
     
     c_node = SetTree.root(self)
     return Node(c_node) if c_node is not None else None