summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/py_amount.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py_amount.cc b/src/py_amount.cc
index 536c4435..07be1512 100644
--- a/src/py_amount.cc
+++ b/src/py_amount.cc
@@ -140,7 +140,7 @@ void export_amount()
.def(init<long>())
.def(init<std::string>())
- .def("exact", &amount_t::exact, boost::python::arg("value"),
+ .def("exact", &amount_t::exact, args("value"),
"Construct an amount object whose display precision is always equal to its\n\
internal precision.")
.staticmethod("exact")