Mercurial > cpython-lru_cache-weakref
diff Objects/sliceobject.c @ 79590:3b484f53f91b 2.7
Issue #14783: Backport changes from 3.2.
| author | Chris Jerdonek <chris.jerdonek@gmail.com> |
|---|---|
| date | Sun, 07 Oct 2012 20:37:54 -0700 |
| parents | fd25030223b0 |
| children |
line wrap: on
line diff
--- a/Objects/sliceobject.c Sun Oct 07 19:17:15 2012 +0300 +++ b/Objects/sliceobject.c Sun Oct 07 20:37:54 2012 -0700 @@ -211,7 +211,8 @@ } 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]).");
