diff --git a/doc/v2/call.html b/doc/v2/call.html
index 4ba3dd96..e75d5597 100644
--- a/doc/v2/call.html
+++ b/doc/v2/call.html
@@ -39,16 +39,22 @@
Functions
template <class R, class A1, class A2, ... class An>
-result-type call(PyObject* callable, A1 const&, A2 const&, ... An const&)
+R call(PyObject* callable, A1 const&, A2 const&, ... An const&)
- - Requires: {{text}}
- - Effects: {{text}}
+ - Requires:
R is a complete type with an accessible copy constructor
+
+ - Effects: Invokes
callable(a1, a2, ...an) in
+ Python, where a1...an are the arguments to
+ call(), converted to Python objects.
- Postconditions: {{text}}
- - Returns: {{text}}
- - Throws: {{text}}
- - Complexity: {{text}}
- - Rationale: {{text}}
+ - Returns: The result of the Python call, converted to the
+ C++ type
R.
+
+
+ - Rationale:
+
+
Example(s)
diff --git a/test/multi_arg_constructor.cpp b/test/multi_arg_constructor.cpp
index 50710519..9b8f071b 100644
--- a/test/multi_arg_constructor.cpp
+++ b/test/multi_arg_constructor.cpp
@@ -3,7 +3,9 @@
struct A
{
- A(const double, const double, const double, const double, const double, const double, const double) {}
+ A(const double, const double, const double, const double, const double
+ , const double, const double
+ ) {}
};
BOOST_PYTHON_MODULE_INIT(multi_arg_constructor_ext)
@@ -14,7 +16,9 @@ BOOST_PYTHON_MODULE_INIT(multi_arg_constructor_ext)
module("multi_arg_constructor_ext")
.add(class_ >("A")
- .def_init(args())
+ .def_init(args())
)
;
diff --git a/test/multi_arg_constructor.py b/test/multi_arg_constructor.py
index d6d1ef37..fb062e8a 100644
--- a/test/multi_arg_constructor.py
+++ b/test/multi_arg_constructor.py
@@ -1,6 +1,6 @@
'''
>>> from multi_arg_constructor_ext import *
->>> a = A(1.0, 2, 3, 4, 5, 6, 7.0)
+>>> a = A(1.0, 2, 3, 4, 5, 6, 7.0, 8.1, 9.3)
'''
def run(args = None):
import sys