changeset 31302:cfc3a72fa5cb stable

doc: More copyedits for function documentation
author Arun Giridhar <arungiridhar@gmail.com>
date Fri, 14 Oct 2022 13:06:24 -0400
parents cf90a6c8dae7
children 75451e28f912 3b16c2d90326
files doc/interpreter/func.txi
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/func.txi	Fri Oct 14 11:48:40 2022 -0400
+++ b/doc/interpreter/func.txi	Fri Oct 14 13:06:24 2022 -0400
@@ -263,13 +263,13 @@
 @end group
 @end example
 
-Octave automatically reports an error if a function in a .m file is called
-with more arguments than expected.  Octave does not automatically report an
-error if a function is called with too few arguments, since functions in
-general may have default arguments, but any attempt to use a variable that
-has not been given a value will result in an error.  Functions can check
-the arguments they are called with to avoid such problems and to provide
-more context-specific error messages.
+Octave automatically reports an error for functions written in .m file code
+if they are called with more arguments than expected.  Octave does not
+automatically report an error if a function is called with too few arguments,
+since functions in general may have default arguments, but any attempt to use
+a variable that has not been given a value will result in an error.
+Functions can check the arguments they are called with to avoid such problems
+and to provide more context-specific error messages.
 
 @DOCSTRING(nargin)