summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-08-03 07:17:33 (GMT)
committerGeorg Brandl <georg@python.org>2005-08-03 07:17:33 (GMT)
commitb370059233f0833dc2768422aee93a728eebbf26 (patch)
treebf7043a364cefb5160bfc5ebe94697e41dd68c76
parent6af7fe056387be32ff280f7e86d538ff9ea8c8e2 (diff)
downloadcpython-b370059233f0833dc2768422aee93a728eebbf26.zip
cpython-b370059233f0833dc2768422aee93a728eebbf26.tar.gz
cpython-b370059233f0833dc2768422aee93a728eebbf26.tar.bz2
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 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: