From: Ezio Melotti Date: Sat, 5 Oct 2013 21:39:18 +0000 (+0300) Subject: #19068: use imperative mood in complex object docstrings. Patch by Marco Buttu. X-Git-Tag: v2.7.6rc1~111 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb053167a84fad09a76db46da2f8861ddd0098a2;p=python #19068: use imperative mood in complex object docstrings. Patch by Marco Buttu. --- diff --git a/Objects/complexobject.c b/Objects/complexobject.c index 677ac0ebe5..5ee0c15e3d 100644 --- a/Objects/complexobject.c +++ b/Objects/complexobject.c @@ -885,7 +885,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) @@ -897,7 +897,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)