]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
backport bug [ 1250306 ] incorrect description of range function
authorGeorg Brandl <georg@python.org>
Wed, 3 Aug 2005 07:18:04 +0000 (07:18 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 3 Aug 2005 07:18:04 +0000 (07:18 +0000)
Doc/lib/libfuncs.tex

index f7e5373501305dd0262c6bf17bedd740f243c011..c0595b1bcb58eb5be39349f81e9a726abec45659 100644 (file)
@@ -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: