mirror of https://github.com/python/cpython
Fixed order of parameters in slice() docstring. The Library Reference
had it right! Reported by Tim Hochberg <tim.hochberg@ieee.org>.
This commit is contained in:
parent
aba953eceb
commit
3d587442f9
|
@ -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.";
|
||||
|
||||
|
|
Loading…
Reference in New Issue