Skip to content
Snippets Groups Projects
Unverified Commit f58fcf4b authored by Xavier Robin's avatar Xavier Robin
Browse files

fix: enable passing by argument (makes documentation easier)

parent f6049dc5
No related branches found
No related tags found
No related merge requests found
...@@ -47,10 +47,10 @@ void export_Bond() ...@@ -47,10 +47,10 @@ void export_Bond()
.add_property("valid", &BondHandle::IsValid) .add_property("valid", &BondHandle::IsValid)
.def("GetFirst", &BondHandle::GetFirst) .def("GetFirst", &BondHandle::GetFirst)
.def("GetSecond",&BondHandle::GetSecond) .def("GetSecond",&BondHandle::GetSecond)
.def("GetOther",&BondHandle::GetOther) .def("GetOther",&BondHandle::GetOther, arg("other_atom"))
.def("GetLength",&BondHandle::GetLength) .def("GetLength",&BondHandle::GetLength)
.def("GetBondOrder",&BondHandle::GetBondOrder) .def("GetBondOrder",&BondHandle::GetBondOrder)
.def("SetBondOrder",&BondHandle::SetBondOrder) .def("SetBondOrder",&BondHandle::SetBondOrder, arg("order"))
.def("IsValid", &BondHandle::IsValid) .def("IsValid", &BondHandle::IsValid)
.def("GetHashCode", &BondHandle::GetHashCode) .def("GetHashCode", &BondHandle::GetHashCode)
.def(self == self) .def(self == self)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment