summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-07-19 15:21:16 (GMT)
committerFred Drake <fdrake@acm.org>1999-07-19 15:21:16 (GMT)
commit3d587442f9a6abca294025f8432684916ed13988 (patch)
tree6631dc9b90b879dd24e817de67b344924ee28024 /Python
parentaba953eceb763582a2fac7b77c6543c371bef97e (diff)
downloadcpython-3d587442f9a6abca294025f8432684916ed13988.zip
cpython-3d587442f9a6abca294025f8432684916ed13988.tar.gz
cpython-3d587442f9a6abca294025f8432684916ed13988.tar.bz2
Fixed order of parameters in slice() docstring. The Library Reference
had it right! Reported by Tim Hochberg <tim.hochberg@ieee.org>.
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 4e20eda..9bb8784 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -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.";