#19068: use imperative mood in complex object docstrings. Patch by Marco Buttu.

This commit is contained in:
Ezio Melotti 2013-10-06 00:39:18 +03:00
parent 256735ce00
commit eb053167a8
1 changed files with 2 additions and 2 deletions

View File

@ -885,7 +885,7 @@ complex_conjugate(PyObject *self)
PyDoc_STRVAR(complex_conjugate_doc, PyDoc_STRVAR(complex_conjugate_doc,
"complex.conjugate() -> complex\n" "complex.conjugate() -> complex\n"
"\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 * static PyObject *
complex_getnewargs(PyComplexObject *v) complex_getnewargs(PyComplexObject *v)
@ -897,7 +897,7 @@ complex_getnewargs(PyComplexObject *v)
PyDoc_STRVAR(complex__format__doc, PyDoc_STRVAR(complex__format__doc,
"complex.__format__() -> str\n" "complex.__format__() -> str\n"
"\n" "\n"
"Converts to a string according to format_spec."); "Convert to a string according to format_spec.");
static PyObject * static PyObject *
complex__format__(PyObject* self, PyObject* args) complex__format__(PyObject* self, PyObject* args)