mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Issue #14783: Backport changes from 3.2.
This commit is contained in:
parent
e4831f6b12
commit
ad4b000179
9 changed files with 44 additions and 24 deletions
|
@ -104,7 +104,8 @@ range_new(PyTypeObject *type, PyObject *args, PyObject *kw)
|
|||
}
|
||||
|
||||
PyDoc_STRVAR(range_doc,
|
||||
"xrange([start,] stop[, step]) -> xrange object\n\
|
||||
"xrange(stop) -> xrange object\n\
|
||||
xrange(start, stop[, step]) -> xrange object\n\
|
||||
\n\
|
||||
Like range(), but instead of returning a list, returns an object that\n\
|
||||
generates the numbers in the range on demand. For looping, this is \n\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue