From: Georg Brandl Date: Wed, 3 Aug 2005 07:17:33 +0000 (+0000) Subject: bug [ 1250306 ] incorrect description of range function X-Git-Tag: v2.5a0~1545 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b370059233f0833dc2768422aee93a728eebbf26;p=thirdparty%2FPython%2Fcpython.git bug [ 1250306 ] incorrect description of range function --- diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index d6b5ffe093a5..cf38c60cdfc9 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: