diff options
author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-10-08 03:37:54 (GMT) |
---|---|---|
committer | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-10-08 03:37:54 (GMT) |
commit | ad4b0001794e47368b0997183b30b1171eab2790 (patch) | |
tree | a390e85fcddef84bd3182a420836fa52447c4649 /Python | |
parent | e4831f6b1296869afd7ac88e674196a599542d50 (diff) | |
download | cpython-ad4b0001794e47368b0997183b30b1171eab2790.zip cpython-ad4b0001794e47368b0997183b30b1171eab2790.tar.gz cpython-ad4b0001794e47368b0997183b30b1171eab2790.tar.bz2 |
Issue #14783: Backport changes from 3.2.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/bltinmodule.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index b4f0e24..d25b14c 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -2004,7 +2004,8 @@ builtin_range(PyObject *self, PyObject *args) } PyDoc_STRVAR(range_doc, -"range([start,] stop[, step]) -> list of integers\n\ +"range(stop) -> list of integers\n\ +range(start, stop[, step]) -> list of integers\n\ \n\ Return a list containing an arithmetic progression of integers.\n\ range(i, j) returns [i, i+1, i+2, ..., j-1]; start (!) defaults to 0.\n\ |