summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-10-05 21:39:18 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-10-05 21:39:18 (GMT)
commit488d244e1ab9e50c5b7e83904897d8e068546086 (patch)
treeeb26f0f6966705833578905f1f420d9ce4c95f68 /Objects
parent5792ce151c0b8b1f9f241d7e99d2c2e7ad9782c3 (diff)
downloadcpython-488d244e1ab9e50c5b7e83904897d8e068546086.zip
cpython-488d244e1ab9e50c5b7e83904897d8e068546086.tar.gz
cpython-488d244e1ab9e50c5b7e83904897d8e068546086.tar.bz2
#19068: use imperative mood in complex object docstrings. Patch by Marco Buttu.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/complexobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/complexobject.c b/Objects/complexobject.c
index 403c60c..b08aa6f 100644
--- a/Objects/complexobject.c
+++ b/Objects/complexobject.c
@@ -681,7 +681,7 @@ complex_conjugate(PyObject *self)
PyDoc_STRVAR(complex_conjugate_doc,
"complex.conjugate() -> complex\n"
"\n"
-"Returns the complex conjugate of its argument. (3-4j).conjugate() == 3+4j.");
+"Return the complex conjugate of its argument. (3-4j).conjugate() == 3+4j.");
static PyObject *
complex_getnewargs(PyComplexObject *v)
@@ -693,7 +693,7 @@ complex_getnewargs(PyComplexObject *v)
PyDoc_STRVAR(complex__format__doc,
"complex.__format__() -> str\n"
"\n"
-"Converts to a string according to format_spec.");
+"Convert to a string according to format_spec.");
static PyObject *
complex__format__(PyObject* self, PyObject* args)