changeset 5302:6468cf6f0b9d

Correct argument name in docstring, #'random. 2010-11-14 Aidan Kehoe <kehoea@parhasard.net> * fns.c (Frandom): Correct the docstring here, the name of the argument is LIMIT, not N.
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 14 Nov 2010 14:13:06 +0000
parents ec05a30f7148
children 4c4085177ca5
files src/ChangeLog src/fns.c
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Nov 14 13:46:29 2010 +0000
+++ b/src/ChangeLog	Sun Nov 14 14:13:06 2010 +0000
@@ -1,3 +1,8 @@
+2010-11-14  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* fns.c (Frandom): Correct the docstring here, the name of the
+	argument is LIMIT, not N.
+
 2010-11-06  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* bytecode.c (bytecode_nreverse): Call Fnreverse() if SEQUENCE is
--- a/src/fns.c	Sun Nov 14 13:46:29 2010 +0000
+++ b/src/fns.c	Sun Nov 14 14:13:06 2010 +0000
@@ -214,9 +214,10 @@
 DEFUN ("random", Frandom, 0, 1, 0, /*
 Return a pseudo-random number.
 All fixnums are equally likely.  On most systems, this is 31 bits' worth.
-With positive integer argument N, return random number in interval [0,N).
-N can be a bignum, in which case the range of possible values is extended.
-With argument t, set the random number seed from the current time and pid.
+With positive integer argument LIMIT, return random number in interval [0,
+LIMIT).  LIMIT can be a bignum, in which case the range of possible values
+is extended.  With argument t, set the random number seed from the current
+time and pid.
 */
        (limit))
 {