Mercurial > cpython-lru_cache-weakref
diff Objects/complexobject.c @ 85976:3ef157674abc 2.7
#19068: use imperative mood in complex object docstrings. Patch by Marco Buttu.
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Sun, 06 Oct 2013 00:39:18 +0300 |
| parents | b36cb4602e21 |
| children |
line wrap: on
line diff
--- 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)
