]> granicus.if.org Git - python/commitdiff
#19068: use imperative mood in complex object docstrings. Patch by Marco Buttu.
authorEzio Melotti <ezio.melotti@gmail.com>
Sat, 5 Oct 2013 21:39:18 +0000 (00:39 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Sat, 5 Oct 2013 21:39:18 +0000 (00:39 +0300)
Objects/complexobject.c

index 403c60c917d7a1910de0e3992588573846ea91b6..b08aa6f001fc0a66566e382600ba9fbe0cb177a7 100644 (file)
@@ -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)