Mercurial > hg > octave-nkf
diff scripts/miscellaneous/python.m @ 19407:c61deba773ab
Add BIST test to perl() and python().
* perl.m, python.m: Reformat docstring to have a single line description of
function first. Add BIST test.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 04 Oct 2014 20:16:10 -0700 |
parents | d63878346099 |
children | cbce5d1bcaf9 |
line wrap: on
line diff
--- a/scripts/miscellaneous/python.m +++ b/scripts/miscellaneous/python.m @@ -22,9 +22,11 @@ ## @deftypefnx {Function File} {@var{output} =} python (@var{scriptfile}, @var{argument1}, @var{argument2}, @dots{}) ## @deftypefnx {Function File} {[@var{output}, @var{status}] =} python (@dots{}) ## Invoke Python script @var{scriptfile}, possibly with a list of command line -## arguments. Return output in @var{output} and optional status in -## @var{status}. If @var{scriptfile} is not an absolute file name it is -## is searched for in the current directory and then in the Octave loadpath. +## arguments. +## +## Return output in @var{output} and optional status in @var{status}. If +## @var{scriptfile} is not an absolute file name it is is searched for in the +## current directory and then in the Octave loadpath. ## @seealso{system, perl} ## @end deftypefn @@ -48,3 +50,6 @@ endfunction + +%!error <invalid arguments> python (123) +