From b370059233f0833dc2768422aee93a728eebbf26 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 3 Aug 2005 07:17:33 +0000 Subject: bug [ 1250306 ] incorrect description of range function --- Doc/lib/libfuncs.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index d6b5ffe..cf38c60 100644 --- a/Doc/lib/libfuncs.tex +++ b/Doc/lib/libfuncs.tex @@ -775,7 +775,7 @@ class C(object): \var{start} + 2 * \var{step}, \ldots]}. If \var{step} is positive, the last element is the largest \code{\var{start} + \var{i} * \var{step}} less than \var{stop}; if \var{step} is negative, the last - element is the largest \code{\var{start} + \var{i} * \var{step}} + element is the smallest \code{\var{start} + \var{i} * \var{step}} greater than \var{stop}. \var{step} must not be zero (or else \exception{ValueError} is raised). Example: -- cgit v0.12