From c33a907a6e6f45daca5635d423b8ba4cd7cb4441 Mon Sep 17 00:00:00 2001 From: Octave Perrin <operrin@lrtechnologies.fr> Date: Thu, 7 Nov 2024 13:57:09 +0100 Subject: [PATCH] last minute corrections --- python_binding/graph/pybind_Node.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python_binding/graph/pybind_Node.cpp b/python_binding/graph/pybind_Node.cpp index 7993282fb..6c5be2b88 100644 --- a/python_binding/graph/pybind_Node.cpp +++ b/python_binding/graph/pybind_Node.cpp @@ -119,11 +119,11 @@ void init_Node(py::module& m) { .def("input", &Node::input, py::arg("in_id"), R"mydelimiter( - Get the parent Node and the associated output index connected to the i-th input of the current Node. + Get the parent Node and the associated output index connected to the specified input of the current Node. :param in_id: input index of the current Node object. :type in_id: int - :return: i-th connection. When an input is not linked to any parent, the default value is (None, default_index) + :return: The parent Node and the corresponding output index of the specified input of the current Node. When an input is not linked to any parent, the default value is (None, default_index) :rtype: tuple[Node, int] )mydelimiter") @@ -131,7 +131,7 @@ void init_Node(py::module& m) { R"mydelimiter( Get, for each output of the Node, a list of the children Node and the associated input index connected to it. - :return: List of a list of connections. When an outut is not linked to any child, its list a empty. + :return: List of a list of connections. When an output is not linked to any child, its list is empty. :rtype: list[list[tuple[Node, int]]] )mydelimiter") @@ -141,7 +141,8 @@ void init_Node(py::module& m) { :param out_id: input index of the current Node object. :type out_id: int - :return: i-th connection. When an input is not linked to any parent, the default value is (None, default_index) + :return: List of Nodes and their inputs that are connected to the specified output. + When an input is not linked to any parent, the default value is (None, default_index) :rtype: list[tuple[Node, int]] )mydelimiter") -- GitLab