diff --git a/python_binding/graph/pybind_GraphView.cpp b/python_binding/graph/pybind_GraphView.cpp
index 5ee8ec865726f9c120a11c33ef99c6159c6f4f49..6ac2199b4ba59faba16c9815277ad134c6f183f4 100644
--- a/python_binding/graph/pybind_GraphView.cpp
+++ b/python_binding/graph/pybind_GraphView.cpp
@@ -73,7 +73,7 @@ void init_GraphView(py::module& m) {
           :type includeLearnableParameter
           )mydelimiter")
 
-          .def_static("replace", &GraphView::replace, py::args("old_nodes"), py::arg("new_nodes"),
+          .def_static("replace", &GraphView::replace, py::arg("old_nodes"), py::arg("new_nodes"),
           R"mydelimiter(
           Replace the old set of Nodes with the new set of given Nodes if possible in every GraphView.