mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
bug [ 1250306 ] incorrect description of range function
This commit is contained in:
parent
6af7fe0563
commit
b370059233
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue