(original) (raw)
changeset: 85976:3ef157674abc branch: 2.7 parent: 85962:92c2e76ca595 user: Ezio Melotti ezio.melotti@gmail.com date: Sun Oct 06 00:39:18 2013 +0300 files: Objects/complexobject.c description: #19068: use imperative mood in complex object docstrings. Patch by Marco Buttu. diff -r 92c2e76ca595 -r 3ef157674abc Objects/complexobject.c --- a/Objects/complexobject.c Sat Oct 05 03:01:37 2013 +0300 +++ b/Objects/complexobject.c Sun Oct 06 00:39:18 2013 +0300 @@ -885,7 +885,7 @@ 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 @@ 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) /ezio.melotti@gmail.com