[Python-checkins] python/dist/src/Doc/lib librandom.tex,1.38,1.39

fdrake@users.sourceforge.net fdrake at users.sourceforge.net
Wed Jul 20 05:49:45 CEST 2005


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9070/lib

Modified Files:
	librandom.tex 
Log Message:
fix markup nits

Index: librandom.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/librandom.tex,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- librandom.tex	28 Sep 2004 03:04:23 -0000	1.38
+++ librandom.tex	20 Jul 2005 03:49:42 -0000	1.39
@@ -159,8 +159,8 @@
   population contains repeats, then each occurrence is a possible
   selection in the sample.
 
-  To choose a sample from a range of integers, use \function{xrange}
-  as an argument.  This is especially fast and space efficient for
+  To choose a sample from a range of integers, use an \function{xrange()}
+  object as an argument.  This is especially fast and space efficient for
   sampling from a large population:  \code{sample(xrange(10000000), 60)}.
 \end{funcdesc}
 
@@ -236,7 +236,7 @@
 
 \begin{classdesc}{WichmannHill}{\optional{seed}}
 Class that implements the Wichmann-Hill algorithm as the core generator.
-Has all of the same methods as \class{Random} plus the \method{whseed}
+Has all of the same methods as \class{Random} plus the \method{whseed()}
 method described below.  Because this class is implemented in pure
 Python, it is not threadsafe and may require locks between calls.  The
 period of the generator is 6,953,607,871,644 which is small enough to
@@ -246,7 +246,7 @@
 \begin{funcdesc}{whseed}{\optional{x}}
   This is obsolete, supplied for bit-level compatibility with versions
   of Python prior to 2.1.
-  See \function{seed} for details.  \function{whseed} does not guarantee
+  See \function{seed()} for details.  \function{whseed()} does not guarantee
   that distinct integer arguments yield distinct internal states, and can
   yield no more than about 2**24 distinct internal states in all.
 \end{funcdesc}



More information about the Python-checkins mailing list