Skip to content

Commit 45e4cf5

Browse files
committed
merged from trunk
[SVN r34865]
1 parent 8fb6e1f commit 45e4cf5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/args.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414

1515
using namespace boost::python;
1616

17+
#if BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x580))
18+
using boost::python::make_tuple;
19+
#endif
20+
1721
tuple f(int x = 1, double y = 4.25, char const* z = "wow")
1822
{
1923
return make_tuple(x, y, z);
@@ -85,6 +89,7 @@ BOOST_PYTHON_MODULE(args_ext)
8589
.def("inner5", &X::inner, "docstring", args("n"), return_internal_reference<>())
8690

8791
.def("f1", &X::f, X_f_overloads(args("x", "y", "z")))
92+
.def("f2", &X::f, X_f_overloads(args("x", "y", "z"), "f2's docstring"))
8893
;
8994

9095
def("inner", &X::inner, "docstring", args("self", "n"), return_internal_reference<>());

0 commit comments

Comments
 (0)