]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fixed order of parameters in slice() docstring. The Library Reference
authorFred Drake <fdrake@acm.org>
Mon, 19 Jul 1999 15:21:16 +0000 (15:21 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 19 Jul 1999 15:21:16 +0000 (15:21 +0000)
had it right!  Reported by Tim Hochberg <tim.hochberg@ieee.org>.

Python/bltinmodule.c

index 4e20eda4a597b87a4728069a0a21839272585a20..9bb8784b0fdeaedaa510ea06002fcbb7a3f0c156 100644 (file)
@@ -1326,7 +1326,7 @@ builtin_slice(self, args)
 }
 
 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.";