# HG changeset patch # User Mike Miller # Date 1468564230 25200 # Node ID 459b6f5c56edd8762cbd9294c900bfe52f98cc0a # Parent d2385636bae5ab8b802a6df5ac4b6a1af89b08ff maint: prefer term "argument" over "parameter" for values passed into a function * pycall.cc (Fpycall): Reword error message to use term "argument" for values passed into a function. diff -r d2385636bae5 -r 459b6f5c56ed pycall.cc --- a/pycall.cc Thu Jul 14 23:23:34 2016 -0700 +++ b/pycall.cc Thu Jul 14 23:30:30 2016 -0700 @@ -178,7 +178,7 @@ } catch (pytave::value_convert_exception const &) { - error ("pycall: error in parameter type conversion"); + error ("pycall: error in argument type conversion"); } catch (error_already_set const &) { @@ -221,7 +221,7 @@ %!assert (pycall ("typename", "Hello world"), "str") %!assert (pycall ("typename", char ([1, 2, 3])), "str") -%!error +%!error %! pyexec ("def intwrapper(x):\n return int(x)\n"); %! pycall ("intwrapper", ftp ());