cpython: 3ef157674abc (original) (raw)
Mercurial > cpython
changeset 85976:3ef157674abc 2.7
#19068: use imperative mood in complex object docstrings. Patch by Marco Buttu. [#19068]
Ezio Melotti ezio.melotti@gmail.com | |
---|---|
date | Sun, 06 Oct 2013 00:39:18 +0300 |
parents | 92c2e76ca595 |
children | ca8e75190402 |
files | Objects/complexobject.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-)[+] [-] Objects/complexobject.c 4 |
line wrap: on
line diff
--- 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)