From 16bb9c905212a3c2b8e07030c65ffa71836ccb74 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 3 Aug 2005 07:18:04 +0000 Subject: backport 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 f7e5373..c0595b1 100644 --- a/Doc/lib/libfuncs.tex +++ b/Doc/lib/libfuncs.tex @@ -737,7 +737,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