changeset 31303:75451e28f912

maint: Merge stable to default
author Arun Giridhar <arungiridhar@gmail.com>
date Fri, 14 Oct 2022 13:06:43 -0400
parents e47e4c2a97cc (current diff) cfc3a72fa5cb (diff)
children d3231a604a62
files
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/func.txi	Fri Oct 14 11:49:17 2022 -0400
+++ b/doc/interpreter/func.txi	Fri Oct 14 13:06:43 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)