diff Python/bltinmodule.c @ 11132:41a46978a444 legacy-trunk

Fixed order of parameters in slice() docstring. The Library Reference had it right! Reported by Tim Hochberg <tim.hochberg@ieee.org>.
author Fred Drake <fdrake@acm.org>
date Mon, 19 Jul 1999 15:21:16 +0000
parents 3be935be3781
children aca7b5eaf5e8
line wrap: on
line diff
--- a/Python/bltinmodule.c	Thu Jul 15 13:11:02 1999 +0000
+++ b/Python/bltinmodule.c	Mon Jul 19 15:21:16 1999 +0000
@@ -1326,7 +1326,7 @@
 }
 
 static char slice_doc[] =
-"slice([start,] step[, stop]) -> slice object\n\
+"slice([start,] stop[, step]) -> slice object\n\
 \n\
 Create a slice object.  This is used for slicing by the Numeric extensions.";