mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 05:22:45 +00:00
fixes for GCC .so/exception problems
[SVN r13471]
This commit is contained in:
@@ -189,7 +189,7 @@ struct init%x : init
|
||||
{
|
||||
%(PyObject* a%n;
|
||||
%)if (!PyArg_ParseTuple(args, const_cast<char*>("%(O%)")%(, &a%n%)))
|
||||
throw argument_error();
|
||||
throw_argument_error();
|
||||
return new T(self%(,
|
||||
boost::python::detail::reference_parameter<A%n>(from_python(a%n, type<A%n>()))%)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user