@@ -299,7 +299,7 @@ struct init0 : init
299299 virtual instance_holder_base* create_holder (extension_instance* self, PyObject* args, PyObject* /* keywords*/ ) const
300300 {
301301 if (!PyArg_ParseTuple (args, const_cast <char *>(" " )))
302- throw argument_error ();
302+ throw_argument_error ();
303303 return new T (self
304304 );
305305 }
@@ -314,7 +314,7 @@ struct init1 : init
314314 {
315315 PyObject* a1;
316316 if (!PyArg_ParseTuple (args, const_cast <char *>(" O" ), &a1))
317- throw argument_error ();
317+ throw_argument_error ();
318318 return new T (self,
319319 boost::python::detail::reference_parameter<A1>(from_python (a1, type<A1>()))
320320 );
@@ -331,7 +331,7 @@ struct init2 : init
331331 PyObject* a1;
332332 PyObject* a2;
333333 if (!PyArg_ParseTuple (args, const_cast <char *>(" OO" ), &a1, &a2))
334- throw argument_error ();
334+ throw_argument_error ();
335335 return new T (self,
336336 boost::python::detail::reference_parameter<A1>(from_python (a1, type<A1>())),
337337 boost::python::detail::reference_parameter<A2>(from_python (a2, type<A2>()))
@@ -350,7 +350,7 @@ struct init3 : init
350350 PyObject* a2;
351351 PyObject* a3;
352352 if (!PyArg_ParseTuple (args, const_cast <char *>(" OOO" ), &a1, &a2, &a3))
353- throw argument_error ();
353+ throw_argument_error ();
354354 return new T (self,
355355 boost::python::detail::reference_parameter<A1>(from_python (a1, type<A1>())),
356356 boost::python::detail::reference_parameter<A2>(from_python (a2, type<A2>())),
@@ -371,7 +371,7 @@ struct init4 : init
371371 PyObject* a3;
372372 PyObject* a4;
373373 if (!PyArg_ParseTuple (args, const_cast <char *>(" OOOO" ), &a1, &a2, &a3, &a4))
374- throw argument_error ();
374+ throw_argument_error ();
375375 return new T (self,
376376 boost::python::detail::reference_parameter<A1>(from_python (a1, type<A1>())),
377377 boost::python::detail::reference_parameter<A2>(from_python (a2, type<A2>())),
@@ -394,7 +394,7 @@ struct init5 : init
394394 PyObject* a4;
395395 PyObject* a5;
396396 if (!PyArg_ParseTuple (args, const_cast <char *>(" OOOOO" ), &a1, &a2, &a3, &a4, &a5))
397- throw argument_error ();
397+ throw_argument_error ();
398398 return new T (self,
399399 boost::python::detail::reference_parameter<A1>(from_python (a1, type<A1>())),
400400 boost::python::detail::reference_parameter<A2>(from_python (a2, type<A2>())),
@@ -419,7 +419,7 @@ struct init6 : init
419419 PyObject* a5;
420420 PyObject* a6;
421421 if (!PyArg_ParseTuple (args, const_cast <char *>(" OOOOOO" ), &a1, &a2, &a3, &a4, &a5, &a6))
422- throw argument_error ();
422+ throw_argument_error ();
423423 return new T (self,
424424 boost::python::detail::reference_parameter<A1>(from_python (a1, type<A1>())),
425425 boost::python::detail::reference_parameter<A2>(from_python (a2, type<A2>())),
@@ -446,7 +446,7 @@ struct init7 : init
446446 PyObject* a6;
447447 PyObject* a7;
448448 if (!PyArg_ParseTuple (args, const_cast <char *>(" OOOOOOO" ), &a1, &a2, &a3, &a4, &a5, &a6, &a7))
449- throw argument_error ();
449+ throw_argument_error ();
450450 return new T (self,
451451 boost::python::detail::reference_parameter<A1>(from_python (a1, type<A1>())),
452452 boost::python::detail::reference_parameter<A2>(from_python (a2, type<A2>())),
@@ -475,7 +475,7 @@ struct init8 : init
475475 PyObject* a7;
476476 PyObject* a8;
477477 if (!PyArg_ParseTuple (args, const_cast <char *>(" OOOOOOOO" ), &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8))
478- throw argument_error ();
478+ throw_argument_error ();
479479 return new T (self,
480480 boost::python::detail::reference_parameter<A1>(from_python (a1, type<A1>())),
481481 boost::python::detail::reference_parameter<A2>(from_python (a2, type<A2>())),
@@ -506,7 +506,7 @@ struct init9 : init
506506 PyObject* a8;
507507 PyObject* a9;
508508 if (!PyArg_ParseTuple (args, const_cast <char *>(" OOOOOOOOO" ), &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9))
509- throw argument_error ();
509+ throw_argument_error ();
510510 return new T (self,
511511 boost::python::detail::reference_parameter<A1>(from_python (a1, type<A1>())),
512512 boost::python::detail::reference_parameter<A2>(from_python (a2, type<A2>())),
@@ -539,7 +539,7 @@ struct init10 : init
539539 PyObject* a9;
540540 PyObject* a10;
541541 if (!PyArg_ParseTuple (args, const_cast <char *>(" OOOOOOOOOO" ), &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10))
542- throw argument_error ();
542+ throw_argument_error ();
543543 return new T (self,
544544 boost::python::detail::reference_parameter<A1>(from_python (a1, type<A1>())),
545545 boost::python::detail::reference_parameter<A2>(from_python (a2, type<A2>())),
0 commit comments