diff options
author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-10-07 20:37:54 -0700 |
---|---|---|
committer | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-10-07 20:37:54 -0700 |
commit | ad4b0001794e47368b0997183b30b1171eab2790 (patch) | |
tree | a390e85fcddef84bd3182a420836fa52447c4649 /Python/bltinmodule.c | |
parent | e4831f6b1296869afd7ac88e674196a599542d50 (diff) | |
download | cpython-git-ad4b0001794e47368b0997183b30b1171eab2790.tar.gz |
Issue #14783: Backport changes from 3.2.
Diffstat (limited to 'Python/bltinmodule.c')
-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 b4f0e24aaf..d25b14c061 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\ |