summaryrefslogtreecommitdiffstats
path: root/Objects/sliceobject.c
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-10-07 21:56:27 (GMT)
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-10-07 21:56:27 (GMT)
commit042fa653ab91c05dfb50e227361ba345e45169c7 (patch)
tree542da728dee2e9536ff28a261aefb5005437d900 /Objects/sliceobject.c
parent3e5dae0ee290a2f16e14e8f9af01dd0214063f21 (diff)
parent83fe2e1c22e6ff72a308e82e1e24ca03f8c51339 (diff)
downloadcpython-042fa653ab91c05dfb50e227361ba345e45169c7.zip
cpython-042fa653ab91c05dfb50e227361ba345e45169c7.tar.gz
cpython-042fa653ab91c05dfb50e227361ba345e45169c7.tar.bz2
Issue #14783: Merge changes from 3.2.
Diffstat (limited to 'Objects/sliceobject.c')
-rw-r--r--Objects/sliceobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/sliceobject.c b/Objects/sliceobject.c
index c4a1907..1593335 100644
--- a/Objects/sliceobject.c
+++ b/Objects/sliceobject.c
@@ -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]).");