summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-08-03 07:18:04 (GMT)
committerGeorg Brandl <georg@python.org>2005-08-03 07:18:04 (GMT)
commit16bb9c905212a3c2b8e07030c65ffa71836ccb74 (patch)
treeefe7c023d9480223533ccbe961a87e237dd9e916
parent2984d9b1ba457dde1eee0c2846354b42262285ba (diff)
downloadcpython-16bb9c905212a3c2b8e07030c65ffa71836ccb74.zip
cpython-16bb9c905212a3c2b8e07030c65ffa71836ccb74.tar.gz
cpython-16bb9c905212a3c2b8e07030c65ffa71836ccb74.tar.bz2
backport bug [ 1250306 ] incorrect description of range function
-rw-r--r--Doc/lib/libfuncs.tex2
1 files changed, 1 insertions, 1 deletions
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: