2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-28 19:32:14 +00:00

Keyword argument support tweak

[SVN r15544]
This commit is contained in:
Dave Abrahams
2002-09-29 03:25:04 +00:00
parent a0ff708d29
commit 94063f7862
2 changed files with 3 additions and 15 deletions

View File

@@ -54,7 +54,7 @@ BOOST_PYTHON_MODULE_INIT(args_ext)
def("f2", f, f_overloads(args("x", "y", "z")));
def("f3", f, f_overloads(args("x", "y", "z"), "f3's docstring"));
class_<Y>("Y", init<int>())
class_<Y>("Y", init<int>(args("value"), "Y's docstring"))
.def("value", &Y::value)
;