mirror of
https://github.com/python/cpython
synced 2026-09-29 08:45:29 +03:00
Issue #14783: Merge changes from 3.2.
This commit is contained in:
commit
042fa653ab
6 changed files with 25 additions and 11 deletions
|
|
@ -269,7 +269,8 @@ slice_new(PyTypeObject *type, PyObject *args, PyObject *kw)
|
|||
}
|
||||
|
||||
PyDoc_STRVAR(slice_doc,
|
||||
"slice([start,] stop[, step])\n\
|
||||
"slice(stop)\n\
|
||||
slice(start, stop[, step])\n\
|
||||
\n\
|
||||
Create a slice object. This is used for extended slicing (e.g. a[0:10:2]).");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue