summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-10-05 21:38:19 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-10-05 21:38:19 (GMT)
commitb32a8111c9da3ef8f690246d488ff8d23d5bd206 (patch)
tree50249ffb594da10eb2d79919a68bb882a370c171 /Objects
parent9185a5ae7ec6fa6e27ca1e1b0562c86f4c928726 (diff)
parent5792ce151c0b8b1f9f241d7e99d2c2e7ad9782c3 (diff)
downloadcpython-b32a8111c9da3ef8f690246d488ff8d23d5bd206.zip
cpython-b32a8111c9da3ef8f690246d488ff8d23d5bd206.tar.gz
cpython-b32a8111c9da3ef8f690246d488ff8d23d5bd206.tar.bz2
#19067: merge with 3.3.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/rangeobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/rangeobject.c b/Objects/rangeobject.c
index 1a1c03e..a4d9fb3 100644
--- a/Objects/rangeobject.c
+++ b/Objects/rangeobject.c
@@ -139,7 +139,7 @@ PyDoc_STRVAR(range_doc,
"range(stop) -> range object\n\
range(start, stop[, step]) -> range object\n\
\n\
-Returns a virtual sequence of numbers from start to stop by step.");
+Return a virtual sequence of numbers from start to stop by step.");
static void
range_dealloc(rangeobject *r)
@@ -672,14 +672,14 @@ static PyObject * range_iter(PyObject *seq);
static PyObject * range_reverse(PyObject *seq);
PyDoc_STRVAR(reverse_doc,
-"Returns a reverse iterator.");
+"Return a reverse iterator.");
PyDoc_STRVAR(count_doc,
"rangeobject.count(value) -> integer -- return number of occurrences of value");
PyDoc_STRVAR(index_doc,
"rangeobject.index(value, [start, [stop]]) -> integer -- return index of value.\n"
-"Raises ValueError if the value is not present.");
+"Raise ValueError if the value is not present.");
static PyMethodDef range_methods[] = {
{"__reversed__", (PyCFunction)range_reverse, METH_NOARGS, reverse_doc},