diff Python/bltinmodule.c @ 79590:3b484f53f91b 2.7

Issue #14783: Backport changes from 3.2.
author Chris Jerdonek <chris.jerdonek@gmail.com>
date Sun, 07 Oct 2012 20:37:54 -0700
parents 2b4f6770877e
children 0f7eec78569c
line wrap: on
line diff
--- a/Python/bltinmodule.c	Sun Oct 07 19:17:15 2012 +0300
+++ b/Python/bltinmodule.c	Sun Oct 07 20:37:54 2012 -0700
@@ -2004,7 +2004,8 @@
 }
 
 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\