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:
@@ -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)
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user